int Height(BTNode *T)//求二叉树高度
{
int L,R;
if(NULL == T)
return 0;
else
{
L=Height(T->lchild);
R=Height(T->rchild);
return L>R ? L+1 :R+1;
}
}
BTNode * Q[MAXSIZE];
int front=0;
int rear=0;
void VisitByLayer(BTNode *T)//层次遍历二叉树
{
BTNode *s=NULL;
if(NULL != T)