You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
324 B
10 lines
324 B
# 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.
|