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.
One of the tests I am failing is ([10,-80,10,10,15,35,20]),6), but I don't see how 6 is the right answer. My code says index zero which seems to check out since 10 does equal -80 + 10 + 10 + 15 + 35 + 20. At index 6 it is saying that 20 = 10 - 80 + 10 + 10 + 15 + 35 but it doesm't, it equals 0. Am I doing something wrong or is this test just incorrect?
This comment is hidden because it contains spoiler information about the solution