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.
This code looks good but I fail to see how it entertains the possibility that the left side of the array's sum could be 0 (the sum of all elements in the array except for the last element equals 0)
had a spasm reading this.
this is the stupidest suggestion for this kata yet....