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.
If the numbers you added previously resulted in a negative number, that means you can ignore them for your subarray. Basically imagine starting after those numbers, since those would just make your subarray sum smaller.
I don't get this either. Has to do with the "if current < 0: current = 0" lines. A nasty shortcut for sure.