已知权值集合为{12,4,5,6,1,2},要求构造哈夫曼树,并计算带权路径长度WPL。
WPL=12*1+(4+4+6)*3+(1+2)*4=12+45+12=69
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/1154892.html
上一篇:Art for Heart’s SakeKeith Koppel, private duty nurse to the extraordinarily wealthy Collis P. Ellsworth, was glad to leave his patient’s room to answer the door. He had had a tiring morning trying to get Ellsworth to cooperate in his own recovery. As
下一篇:幼儿在辨别空间方位时,要经历以______向以客体为中心过渡的发展。