Retired
Counting like a kid. (retired)
602 of 1,201aweleshetu
Description:
My best friend has an adorable 3 year old kid. Everytime I go to visit them, she wants to impress me by showing off her counting skill. Up till now, she is able to count up to n
. However, there is a problem with her counting: she always forgets even numbers. Your task in this kata is to be able to count like her. For convenience let's put the numbers she is able to count in an array. Good luck mate!
When 0 is passed in, return []
.
Example:
kidoCount(10) => should return [1,3,5,7,9]
kidoCount(9) => should return [1,3,5,7,9]
kidoCount(0) => should return []
Fundamentals
Similar Kata:
Stats:
Created | Apr 8, 2017 |
Warriors Trained | 1693 |
Total Skips | 157 |
Total Code Submissions | 3125 |
Total Times Completed | 1201 |
JavaScript Completions | 447 |
Python Completions | 602 |
PHP Completions | 53 |
Java Completions | 84 |
C# Completions | 55 |
Total Stars | 10 |
% of votes with a positive feedback rating | 79% of 610 |
Total "Very Satisfied" Votes | 412 |
Total "Somewhat Satisfied" Votes | 143 |
Total "Not Satisfied" Votes | 55 |
Total Rank Assessments | 649 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 1 kyu |
Lowest Assessed Rank | 8 kyu |