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.
Added
Yes, I used some algorithm and because of the chosen methods it was timing out, changed the methods and it worked.
You need a better approach.
This is not an issue, it's a question ;-)
Did you see the comment right next to the function in the initial code? Or did you looked at the sample tests? ;-)