Q). After scanning a file , we found the following character frequencies.
Character |
Frequencies |
a |
12 |
b |
2 |
c |
7 |
d |
13 |
e |
14 |
f |
85 |
Now, we encode each character using Huffman coding algorithm . What is the maximum number of bits required to encode any character?