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.
When you start it looks like you need a lot of code, but with some tweaks and tricks you can create a quite compact solution, nice kata!
I really liked this answer, I used you basic idea to improve my solution :). My solution has some small tweaks which allow a improved handling of numbers from tousand upwards (:
This comment is hidden because it contains spoiler information about the solution
I like really like this solution. I submitted an addition solution based on this which fixes thes 99/-99 issue and uses the new arrow function