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.
Approved some time ago
Approved by someone
Approved
what was your O?
Depends what you actually do with this...
Every one will use 2 loops at some point, one way or another, since you have to travel through the puzzle. Your goal is actually to try to not have any other loop nested/hidden in those two loops. The targeted time complexity here is O(MxN). If you use more, there are close to no chances your solution can pass, considering the performances tests are run on puzzles in
[50-100]*[50-100]
'hope this helps...?
Is it possible to implement this without using a for loop in other for loop.
no advance topic and (no recursion)
just understand complete problem and solve it step by step
just to get you boost
teoriachaosu, remember using spoiler flag when posting code like that, please.
still, not a kata issue. 1000 nested recursive calls is default setting of python runtime.it IS Python specific problem, not related to CW.
And what's the problem here? Your solution causing an error? Explain yourself properly, until then not an issue.
Approved! Forgive my late response.
you can use gitter for private messaginf
The same in JS! I kept failing on test with array of lenght 999.999.
Seems approved
Loading more items...