Define Huffman algorithm

Write down a brief note on the term Huffman algorithm?

E

Expert

Verified

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

Initially 2 nodes are considered and their sum forms their parent node. When a newest element is considered, it can be added to the tree. Its value and the previously computed sum of the tree are employed to form the new node which in turn becomes their parent.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.