mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-26 09:56:29 +08:00
07f7eb12ff
* Capitalize all the headers, list headers and figure captions * Fix the term "LRU" * Fix the names of source code link in avl_tree.md * Capitalize only first letter for nav trees in mkdocs.yml * Update code comments * Update linked_list.md * Update linked_list.md
9 lines
324 B
Markdown
9 lines
324 B
Markdown
# Stack and queue
|
|
|
|
![Stack and queue](../assets/covers/chapter_stack_and_queue.jpg)
|
|
|
|
!!! 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.
|