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.
In some languages, it's also exponent.
This comment is hidden because it contains spoiler information about the solution
The 2 random tests use the same array, so you've mutated it in the first one, and failing the second one. It test 'value' and then 'index'.
Maybe you've mutated the array? That one seems sorted.
Edit: Yes, you did. Do you realize that the index of the minimum of sorted and original arrays will be different unless it was 0 to start with?