An alphabet consist of the letters A, B, C and D. The probability of occurrence is P(A) = 0.4, P(B) =
0.1, P(C) = 0.2 and P(D) = 0.3. The Huffman code is
a. A = 01
B = 111
C = 110
D = 10
b. A = 0, B = 100, C = 101, D = 11
0.1, P(C) = 0.2 and P(D) = 0.3. The Huffman code is
a. A = 01
B = 111
C = 110
D = 10
b. A = 0, B = 100, C = 101, D = 11