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.
B1ts gave some good feedback.
I love the idea behind the story and this would be a great CS2 exercise for our programming class.
The description does a little more work (maybe include example inputs or specify that String may include spaces, in which case the 1st letter of each word should be capitalized), but the fact that I got the general idea and was able to solve it shows that it wasn't that bad of a description either.
Sadly, B1ts' 1st and last comments are really the reason why this problem won't be selected as an official Kata. Random tests prevent people from just being able to test your specific cases and cheat their way to a solution. The story is interesting, but String parsing is done so many times that the people who solve this problem first will likely downvote it purely because of that.
Having said that, you're still capable of sharing it with people and seeing if they can solve it.
I wouldn't put this Kata at a 5, but probably a 6 or 7. It definitely makes you think about how to solve it for all possibilities, but it isn't as hard as most of the 5 rated problems, I think.
Keep coding and trying to come up with Kata ideas! Don't let this prevent you from trying again.
equals
instead ofequalsIgnoreCase