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.
You should say in the instructions for golang that the input array cannot be directly modified.
The input is not supposed to be directly modified, it doesn't mention that in the instructions though.
I am coding in golang and I pass every test case other than the "Input Mutation Test". I don't understand what this test is looking for/doing? The instructions don't say anything about this test case?
Here is what the console spits out:
Input mutation test
Solution changed input
Expected
<[]int | len:7, cap:7>: [1, 1, 1, 1, 1, 1, 1]
to equal
<[]int | len:7, cap:7>: [1, 1, 2, 2, 2, 1, 1]
This comment is hidden because it contains spoiler information about the solution