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.
It probably depends a little bit on language, but generally you need a fast
O(n log n)
solution.O(n²)
definitely won't cut it.People who would understand that specification understand a
3 kyu
ranking and aperformance
tag.Closing.
That's not an issue.
Also, you're running the sample tests.
This comment is hidden because it contains spoiler information about the solution