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.
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.
I copy and pasted a solution for https://www.codewars.com/kata/545cdb4f61778e52810003a2/train/python from a website and hit submit to see if it'd pass all the randomized tests. I didn't hit attempt button, instead I tried to find codewars policy and ended up here. But it appears hitting submit already gave me 8 honor for it, woops.
Alright, thank you both for your help.
I'm working on it now, learning some new commands I've seen in other people's solutions before
See if this helps: https://docs.codewars.com/training/troubleshooting#timeout
Any idea what the problem is?
There is no errors in the tests. Timing out is not an issue.
This comment is hidden because it contains spoiler information about the solution