engineering recuitment UKPSC Polytechnic Lecturer Mock Test 2024 Algorithms Algorithm Design Techniques Greedy Algorithms
Consider an optimal Huffman code for the following set of frequencies, based on the numbers A:2 B:3 C:5 D:7 E:11. What is the corresponding Huffman code for message ‘DEC’? (Consider 0 for left leaf node and 1 for right leaf node)
1
100110
2
10011
3
100100
4
101110