srbcheema1 / Algo_Ds

Repository for cool algorithms and Datastructures
183 stars 306 forks source link

Create priorityQueue.h #301

Open haris741 opened 4 years ago

haris741 commented 4 years ago

It is a priority queue. more the priority, upper the element will be in the queue. The element with most priority will be dequeued first.