6 kyu
String average
1,837 of 4,272jc66
Description:
You are given a string of numbers between 0-9. Find the average of these numbers and return it as a floored whole number (ie: no decimal places) written out as a string. Eg:
"zero nine five two" -> "four"
If the string is empty or includes a number greater than 9, return "n/a"
Strings
Algorithms
Similar Kata:
Stats:
Created | Jul 12, 2017 |
Published | Jul 12, 2017 |
Warriors Trained | 6274 |
Total Skips | 470 |
Total Code Submissions | 24435 |
Total Times Completed | 4272 |
JavaScript Completions | 1837 |
Haskell Completions | 77 |
Ruby Completions | 205 |
Python Completions | 1371 |
C# Completions | 419 |
PHP Completions | 462 |
Total Stars | 85 |
% of votes with a positive feedback rating | 93% of 874 |
Total "Very Satisfied" Votes | 768 |
Total "Somewhat Satisfied" Votes | 97 |
Total "Not Satisfied" Votes | 9 |
Total Rank Assessments | 11 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |