已知字符集{a,b,c,d,e}中各字符出现的频次分别为2,3,6,8,10,对字符集进行哈夫曼编码,字符a的编码是000,字符e的编码是11,则其余3个字符的编码分别是什么?
字符b的编码是001,字符c的编码是01,字符d的编码是10。【说明】按照算法及题目条件构造的哈夫曼树结果如下图所示。
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/431521.html
上一篇:我国最高人民法院于1982年由民庭、经济庭共同制定了()
下一篇:reading1:The Noble & Cooley Drum CompanyThe Noble & Cooley Drum Company was started in 1854 by James P Cooley and Silas Noble.The men began making drums in the kitchen of Noble’s farmhouse. They had a number of different products, but the one th