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.
After I went to bed it hit me too... Still don't understand how can it be that it sometimes passes that particular test, sometimes it isn't (I'm not changing the code, just spamming the 'Attempt' button). Anyway, thanks for your reply!
This comment is hidden because it contains spoiler information about the solution
Indeed. Had to ask an AI what the problem actually wants from me :D (not for the solution, just for a clear description)
One of the test cases (89) return 136 instead of -1. In my IDE (Eclipse) works just fine. Am I missing something?
Having to deal with the case where nothing is passed in as a parameter was just annoying.