Retired
Length of words (retired)
33dlra
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
Similar Kata:
Stats:
Created | Apr 1, 2017 |
Warriors Trained | 101 |
Total Skips | 1 |
Total Code Submissions | 378 |
Total Times Completed | 33 |
JavaScript Completions | 33 |
Total Stars | 5 |
% of votes with a positive feedback rating | 60% of 21 |
Total "Very Satisfied" Votes | 7 |
Total "Somewhat Satisfied" Votes | 11 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 21 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |