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.
You need a more efficient solution.
Yes. The "real" tests often check for much larger input than the example tests provided before submitting the solution.
The 6s time limit tests for performance. Your code is too slow.
Try thinking of a faster way to solve the problem.