Professional Documents
Culture Documents
Data Structures and Algorithms Queue and Priority Queue
Data Structures and Algorithms Queue and Priority Queue
Data Structures and Algorithms Queue and Priority Queue
DATA STRUCTURE
WHAT?
Linear Data Structure
that implements
Abstract Data Type
(ADT), by following the
FIFO (First In, First
Out) principle
CHARACTERISTICS OF QUEUE
ASCENDING DESCENDING
In ascending order priority In descending order priority
queue, a lower priority queue, a higher priority
number is given as a higher number is given as a higher
priority in a priority priority in a priority
WORKING OF PRIORITY QUEUE