mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-10 21:16:43 +08:00
build
This commit is contained in:
@@ -3,19 +3,19 @@ comments: true
|
||||
icon: material/stack-overflow
|
||||
---
|
||||
|
||||
# Chapter 5. Stack and queue
|
||||
# Chapter 5. Stack and Queue
|
||||
|
||||
{ class="cover-image" }
|
||||
{ class="cover-image" }
|
||||
|
||||
!!! abstract
|
||||
|
||||
A stack is like cats placed on top of each other, while a queue is like cats lined up one by one.
|
||||
|
||||
They represent the logical relationships of Last-In-First-Out (LIFO) and First-In-First-Out (FIFO), respectively.
|
||||
Stacks are like stacking cats, while queues are like cats lining up.
|
||||
|
||||
They represent LIFO (Last In First Out) and FIFO (First In First Out) logic, respectively.
|
||||
|
||||
## Chapter contents
|
||||
|
||||
- [5.1 Stack](stack.md)
|
||||
- [5.2 Queue](queue.md)
|
||||
- [5.3 Double-ended queue](deque.md)
|
||||
- [5.3 Double-Ended Queue](deque.md)
|
||||
- [5.4 Summary](summary.md)
|
||||
|
||||
Reference in New Issue
Block a user