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.
Thanks! And good catch :)
A simple sub() would be fine since there's only one '-'. Other than that it's quite good
You should vote for the existing enhancement request here:
https://codewars.ideas.aha.io/ideas/CW-I-30
Why not benchmarking our solutions ? One of the most important thing in programming is time complexity. When volume goes up it's very important to be able to compare solutions.
You could add a layer to your system and just benchmark what is sent for everyone to see.
I did a whole when/case and map while I could have done this ... Good code ;)