This article was automatically translated from the original Turkish version.

The Queue data structure is one of the commonly used important data structures in computer science. A queue processes data according to the "First-In-First-Out" (FIFO) principle and reflects this characteristic in many true life scenarios. It is particularly used in process scheduling, source sharing, network communication, and simulation applications to ensure systems operate more active and just. Therefore, understanding the queue structure is critically important in algorithm design and software development.
A simple queue strictly follows the FIFO structure. Elements can only be added to the rear of the queue and removed from the front.
In a double-ended queue, insertion and deletion operations can be performed at both ends. There are two types:
This is a special type of queue in which the last position is connected back to the first position. Operations still follow the FIFO order.
A priority queue is a special queue in which elements are accessed according to their assigned priority. There are two types:

No Discussion Added Yet
Start discussion for "Queue (Data structure)" article
Queue Structure Basic Terminology
Basic Queue Operations
Enqueue
Dequeue
Peek / Front
IsEmpty Check
isFull Check
Size Retrieval
Clear
Types of Queues
Simple Queue
Double-Ended Queue (Deque)
Circular Queue
Priority Queue