Ad
  • Default User Avatar

    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.

  • Default User Avatar
    • No random tests (auto-downvote)
    • Description is seriously lacking: be specific about what kind of inputs to expect (nothing mentioned about 'you') and how strings should be formatted.
    • A bunch of if-statements combined with string formatting is not really a new or novel idea :/
  • Custom User Avatar
    • "me" is not in the Kata description (??)
    • since you chose to adjust the killer case before checking it means you could use equals instead of equalsIgnoreCase