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.
Damn, haha I'll give it a shot :)
Sorry for the inconvenience, but I just realized I left the debugging value in the Python version: now is correctly checking for much larger lists, so your solution has become invalid.
If you want to fix it, I would recommend optimizing in order to have it run in a single loop. Cheers :)