Data Structures & Algorithms

Queue

/kjuː/

Definition

A FIFO (First In, First Out) data structure — enqueue adds to the back, dequeue removes from the front.

Example in context

"Message queues use FIFO: the first task published is the first processed — order is preserved."

Related terms

Practice this term

Master Queue in context by working through exercises in the Data Structures & Algorithms module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.