Describe priority queues

Briefly describe the term priority queues?

E

Expert

Verified

A priority queue is fundamentally a list of items in that each item has associated with it a priority.

Items are inserted in a priority queue in any, arbitrary order. Though, items is withdrawn from a priority queue in order of their priorities starting with highest priority item first.

Priority queues are often employed in implementation of algorithms.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.