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.
I write same solution, nice!
You should avoid at all cost switch/case statements, its a case smell.
nice and clean!
very nice looking code.
Not an issue.
Creative! Never woulda thought of that!
problem description is misleading and also test cases make it impossible to finish the kata.. problem needs to be put in an understandable way
if default value is a hash, this has a risk of returning a value within default, instead of default.
This comment is hidden because it contains spoiler information about the solution