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.

Frequently Asked Questions

What does "Queue" mean?

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

How do you pronounce "Queue"?

"Queue" is pronounced /kjuː/.

Can you use "Queue" in a sentence?

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