Priority Queue

CSC-211 · Semester III · Data Structures and Algorithms

Priority queue
42p = 2
17p = 5
90p = 1
33p = 3
extract order (smallest p first)

Next out

(42, p=2)