C语言简单实现二叉树创建并前中后序输出
C语言简单实现二叉树创建并前中后序输出
#include <stdio.h>
#include <stdlib.h>
#define TElemType char
typedef struct BiNode{
TElemType data;
struct BiNode *lchild,*rchild; //左右孩子指针
}BiNode,*BiTree;
//使用前...
原创
2019-01-06 10:19:16 ·
1388 阅读 ·
1 评论