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.
Well, then I misinterpreted the meaning of 'original'. For me, when I read 'original', it means the exact same array (same information, same order etc), so not in-place modification.
I understand now, thanks.
I'm not sure if I'm mistaken, but you're saying original array should be returned when called without reverse, yet you expect to be reversed in place.
The protoype I wrote does not modify in place, if you want the original array.. Either something is wrong or I'm reading it the wrong way.