数据结构—二叉树的先序、中序,后序遍历输出

#include<stdio.h> #include<malloc.h> typedef struct node//二叉树界定类型的定义 { char data; struct node *lchild;//定义节点的左孩子指针 struct node *rchild;//定义节点的右孩子指针 }BinTNode; BinTNode *CreateBinTree()//输入二叉树的线序遍历序列,建
相关文章
相关标签/搜索