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.
you troll. you win
¯_(ツ)_/¯ It was late and I couldn't think of a better solution. I'll refactor it at some point.
ijklmnop
I don't understand this return number? How does it work?
Yup, easy to understand but far slower than a simple loop in this case, particularly because of the function chaining.
The code is really easy to understand! I always forgot to use the recursive anyway :(