Question DSA-GRDY-0004
EasyWhich coding scheme builds optimal prefix codes greedily by merging the two least frequent symbols?
- A.
Base64
- B.
Huffman coding
- C.
Show answer and explanation
Answer: B
Frequent symbols get shorter codes, minimising the total encoded length.