Huffman Height Calculation and some Challenges?

三世轮回 提交于 2019-12-13 09:45:00

问题


I read a sentence that the Height of Huffman Tree with 10-Input Symbol with Frequence 1 to 10 is 5 !! i do lots of study but i couldn't get it very clear and how we calculate the Height of tree !! any idea?


回答1:


I don't usually see the term "height", but rather "depth". In any case, they mean the number of bits of the longest code. That is in fact equal to five for the frequencies you quote.



来源:https://stackoverflow.com/questions/28833747/huffman-height-calculation-and-some-challenges

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!