hello-algo/docs-en/chapter_stack_and_queue/index.md
Yudong Jin d3cb600910
translation: Add the initial translation of the chapter of stack and queue (#1033)
* Update the format of Q&As in docs-en

* Fix the code comments of JavaScript and TypeScript

* Add the initial translation of the chapter of stack and queue
2024-01-08 19:06:37 +08:00

339 B

Stack and Queue

Stack and Queue

!!! abstract

Stacks are like stacking cats, while queues are like cats lining up.

They respectively represent the logical relationships of Last-In-First-Out (LIFO) and First-In-First-Out (FIFO).