顺序存储栈的定义与初始化算法-数据结构
- C语言中顺序存储的栈结构:
define MAXNUM
typedef struct { Elemtype stack[MAXNUM]; int top; } sqstack;
- 栈为空的条件:top=-1
5.3MB
文件大小:
评论区