Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 7

Data Structure and Algorithms

Analysis

COEL37E
4 units
Sat 8:00 am 11:00 am
Sat 12:00 nn 3:00 pm
QUEUE
Queue as ADT
A list of elements with insertions permitted
at one endcalled the rear, and deletions
permitted from the other endcalled the
front.
a common example of a linear list or an
ordered list where data can be inserted at
and deleted from different ends.
Items are added at one end and removed
from the other.
Queue as ADT
A stack data structure exhibits a first in
first out (FIFO) or last in last out (LILO)
property.
Application of Queue in
Real Life
Operations of Queue
Enqueue
Dequeue
Front()
IsEmpty()
Computer Applications
Printer Queue
Process scheduling

You might also like