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 actually fails some of the random tests. You have to submit it multiple times to get it through. This is the worst kata I have seen in this site.
I've done over 100 problems on this site, and this was the worst, not because of the test itself, but because of the poor description. Even worse are the trollish and condescending replies from the creator. This was the first time ever I have found codewars to be a waste of time, and I will keep track of g964's name to make sure not to do their problems in the future.
This one one of those, for me, where I struggled and sweated over a convoluted solution, and the top answer was some simple, obvious-in-retrospect one-liner.