You are on page 1of 9

on

Priority Search Queues

By,
KUSHAN.K.A
INTRODUCTION
Priority queue
It is a special type of data structure in which
items can be inserted or deleted based on priority.

Types of priority queue


Ascending PQ
Descending PQ

• Applications
IMPLEMENTATION
1st technique

2nd technique based on priority

3rd technique for priority search queues


Priority Search Queues
It is an amazing blend of finite maps and priority
queues.
Features of PSQ
Applications
Priority search pennants
A1

A1 P3

A1 P3 S5
E2

C4 E2 A1 M6 P3 R7 S5 W8
A

E P

M R S
C

W
A

E P

M R W
C
Conclusion
 Priority search queues are an amazing combination of
finite maps and priority queues in that they support both
dictionary and priority queue operations.

You might also like