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 comment is hidden because it contains spoiler information about the solution
I can't see how it uses more sum() calls that the regular loop solutions provided.
Thanks for the feedback... I didnt real how sloppy was doing it! I was stuck on figuring out the distinction between left and right, so i was printing out the sum for every position until it clicked... I just didnt take the time refine it.
I just did it in Python and it seemed fine to me. I didn't notice any bugs or wrong return values.