🏷️ Add QueueApplication

This commit is contained in:
Kim Yang
2020-08-03 19:14:03 +08:00
parent 15f72897ce
commit d23fd41c8c
2 changed files with 123 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ typedef struct {
int top;
} SqStack;
//初始化
void InitStack(SqStack &S) {
S.top = -1;//这种初始化的方式,栈顶指针始终指向栈顶元素