Shanon - Fannon Compression
Shanon - Fannon Compression
then
compress and decompress it using Shannon-fanon compression algorithm model. The program then
must show the tree structure of the compressed data. For example, if the user insert the word hello
side 1
2 3
the we get
l:0 L h,e,o
h:10
e:110 1 2
o:111 h e,o
e 1 o
1