Skip to content

Commit 655d26e

Browse files
authored
Merge pull request billryan#130 from qyangaa/patch-1
Corrected Typo
2 parents 0a2007f + 909099b commit 655d26e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh-hans/basics_data_structure/stack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ stack = collections.deque()
1818

1919
#### Methods
2020

21-
- `len(stack) != 0` - 判断`stack`是否weikong
21+
- `len(stack) != 0` - 判断`stack`是否为空
2222
- `stack[-1]` - 取栈顶元素,不移除
2323
- `pop()` - 移除栈顶元素并返回该元素
2424
- `append(item)` - 向栈顶添加元素

0 commit comments

Comments
 (0)