2006年10月19日
摘要: 一。教科书标准算法1.先序遍历非递归算法void PreOrderUnrec(Bitree *t){ Stack s; StackInit(s); Bitree *p=t; while (p!=NULL || !StackEmpty(s)) { while (p!=NULL) //遍历左子树 { visite(p->data); push(s,p); p=p->lchild;... 阅读全文
posted @ 2006-10-19 10:14 [7]彩斑斓 阅读(3996) 评论(1) 推荐(0)