Teaching Haryana (HPSC) Assistant Professor Mock Test 2025 Algorithms Algorithm Design Techniques Greedy Algorithms
Let in a file the frequency of letters i, n, d, e, x are 16, 7, 17, 25, 20 respectively. Which of the following is the Huffman's code of the letter 'x'?
1
01
2
101
3
001
4
11
5
Question Not Attempted