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.
O(2^n) 😥
Love simplicity and ease of using
||
for returning the first 'truthy' valuethis solution is recursive (see last lines)
Please, somebody, explain me, why code continue to execute after first condition that returns false. I thought keyword "return" stops the function
I like the clarity of the code a lot, mine is far more chaotic :-P
Voile thank you for this awesome kata, i got really usefull experience!