What do you mean by Huffman algorithm

What do you mean by Huffman algorithm?

E

Expert

Verified

In Huffman Algorithm, a set of nodes allocated with values if fed to the algorithm.

Initially two nodes are considered and their sum forms the parent node. Whenever a new element is considered, it can be added to tree. Its value and the formerly computed sum of the tree are employed to form the new node that in turn becomes their parent.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.