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.
For the example you give you are right the answer is 1.
I think that, one way or another, you modify the input array hence the reference solution didn't get the same input as yours.
In the tests I modified the evaluation order of the reference solution and of your solution so your solution doesn't longer influence the reference solution. Please tell me if you succeed now.
BTW note that 51 people passed the C kata.