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.
Sorry for my monkey stupidity :D you're absolutly right, there is big O problem I wanted to say
This comment is hidden because it contains spoiler information about the solution
I don't think this comment is spoiler coz there is the same hint in the link below kata's description. It directly points out to use this method in it's formula :)
And what if it's type become something more than a long?
Wow, Math always allows you to find the solution faster.