CODING-Enthusiast9857 / Hacktoberfest22-Contribute-DSA

Hacktoberfest 2022🎉 Guys, open your 1st pull request and contribute in an open-source community...!! This is for everyone💯 So, Hurry up...!! Don't forget to spread love and if you like, give a ⭐️
https://hacktoberfest.com
GNU General Public License v3.0
23 stars 74 forks source link

Priority Queue implementation and operations #118

Closed Ps1231 closed 2 years ago

Ps1231 commented 2 years 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 .