Ad
  • Custom User Avatar

    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.

  • Custom User Avatar

    No, it's not broken:

    Java Completions 6450

    You need to process the string and separate the words and the letters yourself, and only call MorseCode.get() on letters.