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.
Today I decided to rethink this task, started writing code and found that I had written something similary to your solution :)
Now I totally understand what exactly you've done.
Really impressive code! I mean - the code performance is great.
But I'm not sure that I understand how it works :) Will try to figure it out.