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.
MY POOR WEBBROWSER !!
Do not show
1 000
it
-headers.Unrelated, do not rely on random tests only ( these issues may not be unique to this translation ).
The general rule of thumb (at least on Codewars) is to not mutate the input unless it's explicitly instructed to do so.
@yuskivpm -- This is happening because your solution is mutating the input. The final tests ensure this isn't a problem, but the sample tests do not.
I am just nitpicking and being totally unhelpful, but it still could be a symptom of a problem with your code.
pos
could be the answer returned by your solution, which is expected to be iterable, but it happens to be not.