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.
Thank you for the response.
I used C and my solution does change the input inplace as the output type signature is marked as void.
I can't tell what language you are using, but I would suggest checking to see if your code mutates the input (since that can be reflected in poorly written tests).
If so, please let us know so it can be fixed (and also: don't mutate the input)
I got stuck in this test case:
which is clearly wrong...