已知先序(后序)遍历序列和中序遍历序列创建二叉树

输入先序遍历序列: ABDFGC, 再输入中序遍历序列: BFDGAC,则 输出该二叉树的后序遍历序列: FGDBCA。web #include <stdio.h> #include <stdlib.h> #include <string.h> typedef char ElementType; typedef struct BiTNode{ ElementType data; s
相关文章
相关标签/搜索