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.
It took me a while to understand what was expected as well, but the detailed example in the description should be enough.
Remember that indexes are 1-based there while they are 0-based in most programming languages.
I'm closing as this is not an issue with the kata, but I'll agree that the description is a bit convoluted.
Is it one way of saying that you have to rearrange to different permutation of the array and return one of those arrangement randomly?
I already made this kind of function but failed. So I thought they that those friend are in circle while giving gifts and the index will move to specific number. I'm done already with this but failed. The instruction is confusing. Can somebody explain simply?