摘要: //二叉树链式存储 #include<stdio.h>#include<math.h> #define ElemType char#define MaxSize 20 typedef struct BiNode{ ElemType data; struct BiNode *lchild,*rchil 阅读全文
posted @ 2022-07-20 20:04 天天掉头发 阅读(35) 评论(0) 推荐(0) 编辑
摘要: //二叉树顺序存储 不存下标0#include<stdio.h>#include<math.h> #define ElemType int#define MaxSize 20typedef struct SqBinTree{ ElemType data; int isEmpty;//我们需要一个东西 阅读全文
posted @ 2022-07-20 16:54 天天掉头发 阅读(51) 评论(0) 推荐(0) 编辑
返回顶端