You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers the queue — a fundamental Abstract Data Type that follows the First-In, First-Out (FIFO) principle. Queues are used in many computing applications, from printer spooling to process scheduling. This lesson covers linear, circular, and priority queues.
A queue is an ordered collection of elements where:
Think of a queue at a shop: the first person to join is the first to be served.
FRONT → [ 10 | 20 | 30 | 40 ] ← REAR
↑ dequeue here ↑ enqueue here
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.