摘要:
Binary Tree: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 typedef char Elemtype; 5 6 typedef struct BTNode 7 { 8 Elemtype data; 9 struct BTNode *lch 阅读全文
摘要:
1 //双亲孩子表示法 2 #define MAX_TREE_SIZE 100 3 4 typedef char ElemType; 5 6 //孩子结点 7 typedef struct CTNode 8 { 9 int child; //孩子结点的下标 10 struct CTNode *nex 阅读全文