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.
The basic tests are compared against a fixed number, the random tests use a funcion on the same input arrays to get the result, so if you mutate the input the values returned by that function are wrong.
Post your code here and make sure you Mark it as spoiler.
Don't mutate the input