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.
I do not get this in any way
Anyway, this is not an issue with the kata, but a problem with your code. Please use "question" label next time for similar problems.
Whatever the case, you need to return this string, not print it to console.
That was a mistake, as I thought we were supposed to put the actual position (index+1), and not the actual index. Secondly, I didn't return a blank string. The code works when it is outside kata, but here, it doesn't.
Wdym it's not correct? The needle is on index 5. You returned blank string.
This comment is hidden because it contains spoiler information about the solution
Thanks
try refreshing the page or relaunching your browser, usually it's a cache issue
This comment is hidden because it contains spoiler information about the solution