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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Well, 8k is syntax knowledge and 7k is language api knowledge. Seems more like a 6kyu kata for me. But yeah we can agree on fact that 5k is overrated.
I think we are many who tried this one-liner, but "a.join('').split('0')" takes to many time...
With 1000000 items in list, recursion not viable...
"Uncaught RangeError: Maximum call stack size exceeded"
Does it not create a burden on memory with long list because of recursion and call stack ?
Why do you do all of this?
Wait... reverse is also modifying the source array. Not really good.
Pretty es6 syntax :3