GATEverse Practice, past papers & mock tests
GATE 2017 · CS2 - Afternoon
AlgorithmsGreedy MethodmediumNAT2 marks
A message is made up of characters from X = {P, Q, R, S, T} with probabilities: P: 0.22, Q: 0.34, R: 0.17, S: 0.19, T: 0.08. If a message of 100 characters over X is encoded using Huffman coding, then the expected length of the encoded message in bits is _______
Save your progress

Related Algorithms PYQs