Skip to content

Queue

Description

A First In, First Out (FIFO) data structure, where elements are added at the rear and removed from the front.

Double-Ended (Deque)

Allows elements to be added or removed from both ends.

Priority Queue

A variation of a queue where each element is assigned a priority, and the element with the highest priority is served first.