23.9k views
2 votes
How would a Huffman tree look different if we used different tie-breakers. and how would that impact the potential compression?

User Covi
by
6.5k points

1 Answer

2 votes

Answer:

The huffman coding reduces the number of bits which are needed in the storage or sending of a message. The principle is using a lower bit number in encoding data that occurs more frequently.

When we use a different tree, the coding will be different. A huffman tree structure changes in terms of the code written when what is used is a different tie breaker. The tree's structure is determined as regards the coding of any leaf using 0/1 edge convention. This would help in more optimal storage.

User Mayank Sharma
by
6.0k points