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.
If we follow the path of the
6
, we see it ends up at the0
position, below:EDIT: pasted an image because the Discourse section, though it renders HTML code fine in the preview, will not show it as the actual comment.
EDIT #2: Each index value of the returned list/array should be occupied by the number that arrives at that position. The '6' value, after swapping all of its positions, arrives at the
0
index slot.