Explain about the Huffman algorithm

Explain about the Huffman algorithm.

E

Expert

Verified

In the Huffman Algorithm, there is a set of nodes assigned along with values when fed to the algorithm.

Firstly two nodes are taken and their sum forms their parent node. While a new component is considered, this can be added to the tree. The previously computed sum of the tree and its value are used to form the new node that in turn becomes their parent.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.