![](https://img-blog.csdnimg.cn/20190927151117521.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
哈夫曼树
哈夫曼树
zlzhujust
这个作者很懒,什么都没留下…
展开
-
天梯赛:7-157 二叉搜索树的结构 (30分)(AC满分+解析+测试点)
7-157 二叉搜索树的结构 (30分)输入样例:52 4 1 3 082 is the root1 and 4 are siblings3 and 0 are on the same level2 is the parent of 43 is the left child of 41 is the right child of 24 and 0 are on the sa...原创 2020-02-05 20:10:56 · 1460 阅读 · 4 评论 -
PTA:7-88 哈夫曼编码 (30分)(优先队列,AC代码+解析)
7-88 哈夫曼编码 (30分)输入样例:7A 1 B 1 C 1 D 3 E 3 F 6 G 64A 00000B 00001C 0001D 001E 01F 10G 11A 01010B 01011C 0100D 011E 10F 11G 00A 000B 001C 010D 011E 100F 101G 110A 00000B 0000...原创 2020-02-04 22:32:45 · 1903 阅读 · 0 评论