These are some code katas I have enjoyed solving. Higher kyu numbers are easier. Lower numbers get more complex or a lot more work to end result.
- Code Katas aren't always ideal problems but do use common coding skills: splitting, joining, data structures, etc.
- There's lots of possible solutions to one problem, the easiest solution might not be the most ideal
- Try refactoring after you have a working solution, you can fine tune your skills for clean code
- Learn how to use common JS built-in methods off the top of your head:
.split()
,.join()
,.map()
,.filter()
,.find()
, etc. - Don't go for the shortest solution since you will probably not write production code like that
- Regex is ok for a solution, but try solving without regex when developing coding skills
- Try to account for varying data types, invalid user data, missing data, etc.
- Vowel Count - reference data, find matches
- Highest and Lowest - type checking, type conversion, accumulator
- Queue time counter - bad instructions, while, array methods
- Robotic Tattoo Removal - nesting loops, array methods
- Return the highest counting word - reduce, charCodeAt
- Count iterations on number - reduce, while, toString, number
- Count smiley faces - regex, filter
- Sort words with numbers in them - regex, sort
- Decode song with separator - regex, trim
- Peter and 2 others like this - ui