Skip to content

Commit 7314702

Browse files
committed
修复无序序列显示问题
1 parent 607d7c1 commit 7314702

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/03_stack_queue_hash_table/03_01_stack_basic.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@
1313
### 1.2 核心特性
1414

1515
栈的操作遵循 **后进先出(LIFO)** 的原则:
16+
1617
- 最后放入栈的元素,最先被取出。
1718
- 就像叠盘子,最后放上去的盘子,总是最先被拿走。
1819

1920
### 1.3 基本操作
2021

2122
栈的常见操作有:
23+
2224
- **入栈(Push)**:在栈顶加入一个新元素。
2325
- **出栈(Pop)**:移除并返回栈顶的元素。
2426
- **查看栈顶(Peek)**:只查看栈顶元素,但不移除。

0 commit comments

Comments
 (0)