Computer Science, asked by srihu9512, 1 year ago

What is priority queue in data structure?

Answers

Answered by S4MAEL
14

hyyy...

》priority queueis an abstract data type which is like a regular queue or stack data structure, but where additionally each element has a "priority" associated with it. 
_______
hope it helps!!✔✔
Answered by StaceeLichtenstein
0

The explanation of priority queue in data structure is given below.

Explanation:

  • The priority queue is the data structure in which insertion of element or the deletion of element is based on the priority .In the other queue like dequeue we cannot insert or delete the element on the priority but in the priority queue we can do this .
  • The heap data structure is used for the implementation of priority queue,The priority queue is used in the Dijkstra algorithm to find the shortest path .

Learn More :

  • brainly.in/question/17188359
Similar questions