a to z, in order:
[".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..", ".---", "-.-", ".-..", "--", "-.", "---", ".--.", "--.-", ".-.", "...", "-", "..-", "...-", ".--", "-..-", "-.--", "--.."]
A word is sent as its letters' codes glued together with no pauses, e.g. "cab" → -.-. + .- + -... = -.-..--.... So different words may sound the same.
Given a list words, how many distinct signals come out when every word is sent?words=["et", "n", "a"] → 2
"et" → . + - = .-, the same as "a". "n" → -.. Two distinct signals.
words=["sos", "help"] → 2
The signals ...---... and .....-...--. differ.
words=["et", "n", "a"]
2
Run checks the first 3 tests in your browser. Submit checks all 59 tests on the server, hidden ones included.