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

Stats:

CreatedApr 8, 2017
Warriors Trained1693
Total Skips157
Total Code Submissions3125
Total Times Completed1201
JavaScript Completions447
Python Completions602
PHP Completions53
Java Completions84
C# Completions55
Total Stars10
% of votes with a positive feedback rating79% of 610
Total "Very Satisfied" Votes412
Total "Somewhat Satisfied" Votes143
Total "Not Satisfied" Votes55
Total Rank Assessments649
Average Assessed Rank
7 kyu
Highest Assessed Rank
1 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • aweleshetu Avatar
  • anter69 Avatar
  • Blind4Basics Avatar
  • Voile Avatar
  • OpenByte Avatar
  • user8436785 Avatar
Ad