hello-algo/docs/chapter_stack_and_queue/index.md
2024-04-01 05:25:50 +08:00

21 lines
663 B
Markdown

---
comments: true
icon: material/stack-overflow
---
# 第 5 章   栈与队列
![栈与队列](../assets/covers/chapter_stack_and_queue.jpg){ class="cover-image" }
!!! abstract
栈如同叠猫猫,而队列就像猫猫排队。
两者分别代表先入后出和先入先出的逻辑关系。
## 本章内容
- [5.1   栈](https://www.hello-algo.com/chapter_stack_and_queue/stack/)
- [5.2   队列](https://www.hello-algo.com/chapter_stack_and_queue/queue/)
- [5.3   双向队列](https://www.hello-algo.com/chapter_stack_and_queue/deque/)
- [5.4   小结](https://www.hello-algo.com/chapter_stack_and_queue/summary/)