mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-28 04:20:44 +08:00
build
This commit is contained in:
25
en/docs/chapter_stack_and_queue/index.md
Normal file
25
en/docs/chapter_stack_and_queue/index.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
comments: true
|
||||
icon: material/stack-overflow
|
||||
---
|
||||
|
||||
# Chapter 5. Stack and Queue
|
||||
|
||||
<div class="center-table" markdown>
|
||||
|
||||
{ class="cover-image" }
|
||||
|
||||
</div>
|
||||
|
||||
!!! 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.
|
||||
|
||||
## Chapter Contents
|
||||
|
||||
- [5.1 Stack](https://www.hello-algo.com/en/chapter_stack_and_queue/stack/)
|
||||
- [5.2 Queue](https://www.hello-algo.com/en/chapter_stack_and_queue/queue/)
|
||||
- [5.3 Double-ended Queue](https://www.hello-algo.com/en/chapter_stack_and_queue/deque/)
|
||||
- [5.4 Summary](https://www.hello-algo.com/en/chapter_stack_and_queue/summary/)
|
||||
Reference in New Issue
Block a user