A list of high quality codewars.com katas
- Five without numbers: Write a function that always returns 5 without using numbers or arithmetic operators.
- Cat years, Dog years: Compute how many cat and dog years a given human years value represents.
- Generate Range of Integers: Generate an array of integers based on a given range and step increment.
- To square (root) or not to square (root): Process an array by deciding to square or not each number.
- Hop Accross: Cross a river jumping through stones, then return the same way.
- List of Presents: Find the maximum amount of presents that can be bought with a given budget.
- Summing a number's digits: Sum the digits of a number.
- Elevator Distance: Find the total number of floors traveled in an elevator.
- Get the Middle Character: Output the middle letter of a word.
- Odd or Even: Find out if an array's sum is odd or even.
- Selective Array Reversing: Iteratively reverse sub-sections of an array.
- Dumbphone Keypads: Given an input message, translate it to phone number taps.
- Lottery Ticket: Given a group of values, count mini-wins and see if the ticket is a winner.
- Stop gninnipS My sdroW!: Reverse only the words that are more than 5 letters long in a string.
- Numbers of Letters of Numbers: Count the number of characters in a spelled-out number until they match
- Clock in Mirror: Figure out what the time is through a clock reflection in a mirror.
- Blackjack Scorer: For a given Blackjack hand, calculate its score.
- Find the unknown digit: Find the value of
?
in expressions like?+?=2