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.
10k is a very small number of operations - a reasonable solution can pass the "deep recursion" test in
~10 ms
. If your solution times out, either you aren't using themax_steps
limiter, or your code is genuinely 1200+ times slower than what other people have written which is unacceptably bad.All kata have a timeout (for python this is 12 seconds) but this kata does not include tests intended to restrict solutions based on execution time. Most submitted solutions can solve all the tests (including the deep recursion test) in well under a second. If your code is timing out, I would look for unintended infinite loops or similar. You can check out these troubleshooting tips for more info.
same issue
im pretty sure there is 12k ms and deep recursion test is over 10k moves
There're no performance requirements in this kata, and your solution passes the tests in
~100 ms
. What are you talking about?I'm not sure if this kata is not forcing timeout too quick, i think my answer was not too bad
it took me a moment :D
Read this: https://docs.codewars.com/training/troubleshooting/#print-input
The tests are ok.
This comment is hidden because it contains spoiler information about the solution
when u are not sure if its coding or already popart
This comment is hidden because it contains spoiler information about the solution