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.
I love this
So I'm pretty sure this Kata has a problem. I attempted a very roundabout method to getting the result which worked apart for the random cases. Obviously there was a far easier method that I missed which is why 90% of people don't have an issue with this. But I'm pretty sure there is something wrong with this code.