From e0763b1ae3ac38b368a7e3a80877e14e9b862b2d Mon Sep 17 00:00:00 2001 From: IoTmanis <101350326+IoTmanis@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:07:59 +0800 Subject: [PATCH] Update stack_queue.md Modify the wrong word --- data_structure/stack_queue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structure/stack_queue.md b/data_structure/stack_queue.md index 6353679..b7eed51 100644 --- a/data_structure/stack_queue.md +++ b/data_structure/stack_queue.md @@ -75,7 +75,7 @@ public boolean isValid(String s) { - 新元素比栈顶元素小:直接入栈 -- 新元素比栈顶元素大:弹出栈内元素知道栈顶比新元素小(或空栈) +- 新元素比栈顶元素大:弹出栈内元素直到栈顶比新元素小(或空栈) 出栈意义: