Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
I gained from this Kata a basic lesson ->
if you find yourself needing to write out a if/else statement to return a refferring value
reach for a Hash. It's far more clean than writing an if conditional.
dratz! the test cases on this are a bit wrong (ruby). The first 5 test cases are correct but radom test test case are just not correct.
This comment is hidden because it contains spoiler information about the solution
How do you get to see the hidden tests? I passed the test's but somehow I can't submit because im failing extra tests that I cant see.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution