Morse code encoded the same way (A, O, E, I, T, M, N, R, K, etc.). Bulgarian alphabet contains 30 characters, which exactly match all possible combinations of 1, 2, 3, and 4 dots and dashes. Russian requires 1 extra character, "Ы" which is encoded with 5 elements. During early World War I (1914–1916), Germany briefly experimented with 'dotty' and 'dashy' Morse, in essence adding a dot or a dash at the end of each Morse symbol. Each one was quickly broken by Allied SIGINT, and standard Morse was restored by Spring 1916. Only a small percentage of Western Front (North Atlantic
Huffman coding minimizing the total number of digits are the same thing. "Huffman coding with unequal letter costs" is the generalization without this assumption: the letters of the encoding alphabet may have non-uniform lengths, due to characteristics of the transmission medium. An example is the encoding alphabet of Morse code, where a 'dash' takes longer to send than a 'dot', and therefore the cost of a dash in transmission time is higher. The goal is still to minimize the weighted average codeword length, but it is no longer sufficient just to minimize the number of symbols used by the message. No algorithm