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.
Amazing kata! It took me ages to pass the tests for large numbers. And when I checked out the solutions, I couldn’t believe my eyes, so simple!
Same thing happened to me. Looks like two order iteration is too much to pass the 10th test because n is such a large number. I think you should try reducing the number of iterations. When n is big, there are a lot of combinations you don’t really need to consider. This will make your algorithm more efficient.