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.
I removed the random tests because they don't conform to the story.
I have the same issue (JavaScript)
You are evidentely modifying the array in place, which is bad practice unless required.
Also, I see no part of the description forbidding the use of negatives, but I can quickly fix that (and it has nothing to do with the problem).
This kata is not supposed to be passing negative values. Let me look into this.
Yeah, that's also happening to me. It says: "It should work for random inputs too: -1336 should equal -567", but the list is: [169, -527, -40, 157, 33, -809, 173] so my answer should be right