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 think that this solution is the most interesting!
This solution is all but ridiculous. It is clear, concise, idiomatic, and avoids the use of any loops and/or dynamic array creation/extension, which are resource expensive processes.
just ridiculous
very clever :)
This comment is hidden because it contains spoiler information about the solution
hygl
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comma_Operator
Thanks to your solution, I learned "comma operator" =)
It is just the recursive form of the other iterative solutions...
gj
how can you think of it ? Amazing!