字母表 {a,b,c,d,e} 中各字符的出现频率分别为:a:10%,b:15%,c:30%,d:16%,e:29%,采用哈夫曼编码方式对字符进行二进制编码。
4, 4, 1, 3, 2
3, 3, 2, 2, 2
3, 3, 1, 2, 1
4, 4, 1, 2, 2