1.1 Huffman Code Construction
Huffman Coding Algorithm is a bottom-up approach.
ALGORITHM
The steps of Huffman coding algorithm are given below[9]:
1. Create a series of source reduction: combine the two lowest probability symbol into a single symbol; repeated until a
reduced source with two symbols is reached.
2. Code each reduced symbol: start with the smallest source and working back to the original source;
(a) Creates the optimal code for a set of symbols; the
symbol is coded one at a time;
(b) The code itself (or block code) –each code is mapped