Retired

Length of words (retired)

Description:

Taking a string as a phrase, find out how many letters are in each word and return this information in an array, in the form:

[[a0,a1],[b0,b1],...,[n0,n1]],

where the 0th index gives the word lengths and the 1st index gives the multiplicity within the string; e.g.,

[[1,7],...]

would signify seven occurences of one-letter words.

Ignore non-alphabet characters; sort array so information on shortest words come first.

Fundamentals

Stats:

CreatedApr 1, 2017
Warriors Trained101
Total Skips1
Total Code Submissions378
Total Times Completed33
JavaScript Completions33
Total Stars5
% of votes with a positive feedback rating60% of 21
Total "Very Satisfied" Votes7
Total "Somewhat Satisfied" Votes11
Total "Not Satisfied" Votes3
Total Rank Assessments21
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • dlra Avatar
Ad