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.
Hello,
How fast was your solution?
Mine passes n = 10e7 in 1.394 seconds but it still times out during the random test.
[edit] for anyone wondering the threshold is to be able to return n=10e7 in approximately less than 1 second.