A message is made up entirely of characters from the set \(X=\{P,Q,R,S,T\}\). The table of probabilities for each of the characters is shown below:\[\begin{array}{|c|c|}\hline \text{Character} & \text{Probability}\\ \hline P & 0.22\\ Q & 0.34\\ R & 0.17\\ S & 0.19\\ T & 0.08\\ \hline \end{array}\]If a message of 100 characters over \(X\) is encoded using Huffman coding, then the expected length of the encoded message in bits is
GATE CS 2017 · Set-2 · Asymptotic Analysis & Recurrences
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems