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.
can't be changed
I wrote this to pass a kata for points, not for you to read. If you want to read stuff that will actually educate you, I recommend my stack overflow answers or my blog.
Because this is a test which has a purpose of specifically checking that your solution obeys the "don't mutate the input" requirement.
There're many katas which have tests for specific requirements, the most obvious example would be parsers/interpreters/transpilers...
There's a message below specially for people like you:
But do you
not mutate the original array/list
as the description says?