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.
you passed the simple test, not ALL
NOTE: There will also be lists tested of lengths upwards of 10,000,000 elements. Be sure your code doesn't time out.
this kata requires O(n) solution, try to use a better way.
Hint for python guys, if you are already use for each, don't use operator "in" or "not in" inside
good luck
i have the same conclusion, and i dont know how to fix it
i have 2 "for ..." in my code, but i've used time library for python and it is OK
i'm from russia, sorry if i have mistakes
How about adding some print statements to debug exactly what elements and indices you're looking at for a simple case?
Python: I pass all the test, but when choosing 'attempt' the execution times out. What could be the reason?
yes
This comment is hidden because it contains spoiler information about the solution
I believe 4 kye would be more appropriate for this kata.
I have timeout issues as well. How do you mean "jnz" can go past the end of the program?
Is it really 6 kyu? It seemed pretty hard for me.
This comment is hidden because it contains spoiler information about the solution
Should work on any length of strings.