6 kyu
String average
1,855 of 4,318jc66
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 | 6335 |
Total Skips | 470 |
Total Code Submissions | 24577 |
Total Times Completed | 4318 |
JavaScript Completions | 1855 |
Haskell Completions | 77 |
Ruby Completions | 206 |
Python Completions | 1389 |
C# Completions | 423 |
PHP Completions | 468 |
Total Stars | 86 |
% of votes with a positive feedback rating | 93% of 885 |
Total "Very Satisfied" Votes | 777 |
Total "Somewhat Satisfied" Votes | 99 |
Total "Not Satisfied" Votes | 9 |
Total Rank Assessments | 11 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |