Skip to content

Glossary: Data Structures and Algorithms in JavaScript

FIFO, LIFO

Also written: FIFO, LIFO, first in, first out, last in, first out

FIFO means first in, first out, like a queue of Priya's tickets. LIFO means last in, first out, like a stack of coffee cups.

Where the book teaches it

Related terms

QueueStack