mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-26 23:16:28 +08:00
b3f100aff1
* Add Ruby code blocks to documents * Remove Ruby code from en/docs * Remove "center-table" class in index.md * Add "data-toc-label" to handle the latex heading during the build process * Use normal JD link instead. * Bug fixes
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.
|