LeetCode
Unique Morse Code Words
Click
here
for an explanation.