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.
.
That's because you accidently copy-pasted your code into the sample tests area.
You can click the
reset
button to reset it. (Make sure to copy your code first so you don't lose it.)But most importantly - Use the spoiler tag when you post your code! Especially for a 2kyu kata... :/
The tests are fine and there is no issue with Python.
Your solution is timing out probably because it is too slow. As said in the description, the tests will have strings of length
100000
.this has nothing to do with python 2 or 3 but with the fact that you're returning a numpy array. ;)
Always say what language you are using, @marmotteNZ. Thanks rossbenzie.
Fixed.
Same - using Ruby
Does your code work with the string "bobabob"?