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.
That doesn't create a copy, that's another reference to the same array. You can easily check that printing seq before your manipulations and just before the return line.
Is that ok? I can't find info on
copy
method, and the assignment seems wrong.Reading this could help you.
Can we see how you made your copy?
Don't modify the input.