二叉树的后续非递归遍历
摘要:        
void TraverseTree(BTree BT){ StackTree S; StackTag tag; BTree p=BT; while (p!=NULL||!IsEmpty(S)) { while (p) { push(S,p); push(tag,0); p=p->pLchild; } if (Top(S)->pRchild==NULL||Top(tag)==1) { BTree temp=P...    阅读全文
		
		posted @ 2012-05-22 17:54 为梦飞翔 阅读(1290) 评论(0) 推荐(1)
                    
                
浙公网安备 33010602011771号