mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-26 01:56:31 +08:00
244c04fe44
* Updata number_encoding.md * Update number_encodimg.md * update chapter_stack_and_queue/index.md
13 lines
369 B
Markdown
13 lines
369 B
Markdown
# Stack and Queue
|
|
|
|
<div class="center-table" markdown>
|
|
|
|
![Stack and Queue](../assets/covers/chapter_stack_and_queue.jpg)
|
|
|
|
</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.
|