- 博客(1)
- 收藏
- 关注
原创 二叉树前中后序遍历非递归及应用
#include #include #define M 50 typedef struct node{ int data; struct node *llink,*rlink; }BTNode,*BTREE; void PREORDER(BTREE T)//前序非递归 { BTREE STACK[M],p=T; int top=-1; if(T!=NULL) do{ w
2016-01-01 21:40:15
393
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅