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.
Clever, but you mutated the list.
but you are not meeting the requirements
I can't believe people upvoted this solution as the Best Practice and Clever... IT MUTATES THE ORIGINAL LIST!
Someone should add such check in Tests.
don't change original list.
This comment is hidden because it contains spoiler information about the solution
This implementation contains a bug: it changes the original list.
How is this voted best practice/clever when when it changes the original array?