【非递归】二叉树的建立及遍历
采用先序序列输入,二叉链表存储结构,非递归方式建立二叉树。对于非递归算法建立二叉树可以参考迷宫算法给出;#include<stdio.h>#include<stdlib.h>#include<conio.h>typedefstruct tree { char ch; struct tree *lchild; struct tree *rchild; int flag; }TREE; typedefstruct{ TREE...