This commit is contained in:
krahets
2024-01-09 16:00:24 +08:00
parent 04b028a56d
commit 4037b872f4
63 changed files with 5195 additions and 440 deletions

View File

@ -1,8 +1,13 @@
# Stack and Queue
---
comments: true
icon: material/stack-overflow
---
# Chapter 5.   Stack and Queue
<div class="center-table" markdown>
![Stack and Queue](../assets/covers/chapter_stack_and_queue.jpg)
![Stack and Queue](../assets/covers/chapter_stack_and_queue.jpg){ class="cover-image" }
</div>
@ -11,3 +16,10 @@
Stacks are like stacking cats, while queues are like cats lining up.
They respectively represent the logical relationships of Last-In-First-Out (LIFO) and First-In-First-Out (FIFO).
## Chapter Contents
- [5.1 &nbsp; Stack](https://www.hello-algo.com/en/chapter_stack_and_queue/stack/)
- [5.2 &nbsp; Queue](https://www.hello-algo.com/en/chapter_stack_and_queue/queue/)
- [5.3 &nbsp; Double-ended Queue](https://www.hello-algo.com/en/chapter_stack_and_queue/deque/)
- [5.4 &nbsp; Summary](https://www.hello-algo.com/en/chapter_stack_and_queue/summary/)