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!
Loading collection data...
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!