• In, the alphabets z and q are used since they are the least common. These are combined, and the result is assigned to the parent node. Because the result is lower than all of the other wavelengths, it's also positioned before j in the list.
The fresh list will be: result so on.[z,q],x,j,k,v,........so on
• The least common alphabets in STEP 2 comprise result [z,q] and x . As a consequence, combine them and place the outcome inside the parent node. So, result[result [z,q],x ] has now become 0.4 , which in itself is bigger than j's value. Therefore, with in bandwidth list, put it after j. As a result, your new list will look like this:
j, result [result [z,q],x],k,v,...... So on.
• In the j is left node and result[result [z,q],x is right node as j is less than result[result[z,q],x ].
Continue this procedure on until entire list has been scanned.
• Give each left branch a number of 0 and each right branch a number of 1 . Figure 2 depicts the end outcome.

Figure 2:
Start somewhere at parent node and explore until you reach full alphabet, checking the 0s and 1s of the branches you've traversed.
The following are the results for any and all alphabets:
- blank:101(3bits)
- e:010 (3bits)
- t:1000 (4bits)
- a:1110 (4bits)
- 0:1100(4bits)
- i:0111(4bits)
- n:0110(4bits)
- s:0011(4bits)
- h:0001(4bits)
- r:0000(4bits)
- d:11111(5 bits)
- l :11110(5 bits)
- c:00101(5 bits)
- u:00100(5 bits)
- m:100111(6 bits)
- w:100101(6 bits)
- f:100100(6 bits)
- g:110111(6 bits)
- y:110110(6 bits)
- p:110101(6 bits)
- b:110100(6 bits)
- v:1001100(7 bits)
- k:10011011(8bits)
- j:100110100(9 bits)
- x:1001101011(10 bits)
- q:10011010101(11 bits)
- z:10011010100(11 bits)
b)
Suppose the length of bits used for Huffman encoding is and frequency of the letter is .
Sum of the frequencies is 101 . Expected number of bits per letter:
Assume, alphabet’s letter use to convert with number of bits base on = 3.83 bits per letter.