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'm not saying that finding the bug is too hard- I agree that that's the point of the exercise. I'm arguing that it's unclear what the function is even supposed to be doing. The author should explain the desired output of the function for the range of possible inputs (perhaps with a little background on Hitchhiker's Guide for fun.)
The description is unnecessarily wordy- get to the point!
The problem description needs heavy clarification. It took me a while to figure out what it was actually asking.