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.
When you split (use
split
method) the string by the three spaces, you get an array of encoded words, you don't need to use MorseCode.get(" (triple space) ") at all. I've just solved it in Java and it works fine, it's better if you post your code using markdown formatting and mark it as having spoiler content instead of a screenshot, I won't retype your code just to test it.No, it's not broken:
You need to process the string and separate the words and the letters yourself, and only call MorseCode.get() on letters.