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.
When that happens, check you don't have an infinite loop. Or your code is not performant enough.
Hello,
I used a "for loop" or "while loop" in this kata. All test passed. But I can't submit my solution because it exceeds 12000 ms.
Someone can give me a hint to improve :)
You can benchmark on your computer different solutions that passed at CW.
This comment is hidden because it contains spoiler information about the solution