mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-27 13:16:30 +08:00
21 lines
479 B
Markdown
21 lines
479 B
Markdown
---
|
|
comments: true
|
|
icon: material/stack-overflow
|
|
---
|
|
|
|
# 第 5 章 堆疊與佇列
|
|
|
|
![堆疊與佇列](../assets/covers/chapter_stack_and_queue.jpg){ class="cover-image" }
|
|
|
|
!!! abstract
|
|
|
|
堆疊如同疊貓貓,而佇列就像貓貓排隊。
|
|
|
|
兩者分別代表先入後出和先入先出的邏輯關係。
|
|
|
|
## 本章內容
|
|
|
|
- [5.1 堆疊](stack.md)
|
|
- [5.2 佇列](queue.md)
|
|
- [5.3 雙向佇列](deque.md)
|
|
- [5.4 小結](summary.md)
|