随笔分类 - 数据结构
摘要://按照完全二叉树的层次顺序一次输入节点信息建立二叉链表的算法 #include <stdio.h> #include <stdlib.h> typedef char DataType; typedef struct node { DataType data; struct node* lchild
阅读全文
摘要:#include <stdio.h> #include <stdlib.h> typedef char DataType; typedef struct node { DataType data; struct node* lchild, * rchild; } BinTNode; typedef
阅读全文