用栈实现二叉树的遍历(非递归)

先实现栈 #include <stdio.h> #include <stdlib.h> #include <string.h> typedef  char ElemType; #define STACKSIZE 20 typedef struct st { ElemType *data; int top; int MaxSize; }stack; void Init_stack(stack *p)
相关文章
相关标签/搜索