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
I tried to solve it rucursively, but couldn't figure out how to express it properly :(
It will be a long journey for me to learn how to solve problems effectively (if ever) but it's fun. (Its kind of a new hobby)
Such clean and elegant solution.
I wonder whether '0' should be treated like isolated case. I stuck there, else all tests passed. I guess not the optimal solution.
Hi there, after several attempts, reading and many errors, the code was reduced to O(n) itterations, but now i get "Max Buffer Size Reached (1.5 MiB)" at the last test.
Can someone tell me why is that? Thanks
Really very elegant solution.