Tree Recovery

 输入一棵二叉树的前序遍历,中序遍历结果数组 输出该二叉树的后序遍历结果code 关键是采用结构体数组去存二叉树的各个结点。string #include<stdio.h> #include<string.h> typedef struct BiTNode { char data; struct BiTNode *lc,*rc; }BiTNode,*BiTree; BiTre
相关文章
相关标签/搜索