2020-11-11
我用链表的形式实现赫夫曼树,但程序出错了,不会改,求大佬解决!
#include
using namespace std;
typedef struct HTNode{ int weight; struct HTNode *parent, *lchild, *rchild; }HTNode, *HuffmanTree;
typedef struct { HTNode *base; int front; int rear;}SqQueue;
void InitHuffm
原创
2020-11-11 23:11:24 ·
72 阅读 ·
0 评论