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.
Also we can wrap this by function for optimization purposes ;) thanks for the replies
Thanks, my bad.
Yes, just like in my example.
This comment is hidden because it contains spoiler information about the solution
https://jsperf.com/wubstep/12
This comment is hidden because it contains spoiler information about the solution
Mutation of the input isn't that great but variable as a second argument looks nice
Global " i " is not good
It's a really cool trick to make recursion look "pretty" with this one time argument after the function.
Awesome task.
This comment is hidden because it contains spoiler information about the solution
It will be harder to read.
Nice, so it's legit to use in every task? :D
This comment is hidden because it contains spoiler information about the solution
Thanks for your answer, can you explain more detailed, why has is better, cuz i thought that has should iterate through Set as well as include through an Array. For me there is no difference in those operations.
Loading more items...