IEEE-VIT / back-to-future

A beginner friendly repository to help users learn and contribute towards open source
9 stars 35 forks source link

Priority Queue implementation in C++ #77

Closed Ps1231 closed 1 year ago

Ps1231 commented 1 year ago

Priority Queue is an abstract data type which is a collection of elements where the elements have different priority levels. The elements with higher priority is processed before any element of lower priority. If there are elements with the same priority then the element added first in the queue would get processed first. Here this implementation has operations of addition, deletion, display, and sorting according to priority .