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.
It's not random, all the ones your code fail have something in common, it's your job to debug your code, not ours. I already gave you some hints about it. Good luck.
Note: it's not the last word in this case that's missing the space
what does your code return for those that fail?
Not a kata issue, that's a problem with your code, look for a pattern in the input of those tests your code is failing. See where your code is adding those spaces.