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 could/should have made this code more robust. But it was not necessary for the test input, so I guess it is sufficient for what the Kata author intended.
Wrong! Everything with value below 'Z', that is 90 will be precedeed by a space. Than includes numbers, special characters as well as spaces.
I disagree, it's only false the first time, but it needs to be checked for each letter. Not needed, since we can add the "-" for each loop, and just remove the last char from the StringBuilder. Check my solution.