Differentiate between Priority Queue and DEQUES point vise differentiation.
Answers
Answered by
1
Explanation:
Queue is a list where insertion is done at one end and removal is done at the other end. ... Priority queue does not have any ends. In a priority queue, elements can be inserted in any order but removal of the elements is in a sorted order.
Answered by
1
Answer:
Queue is a list where insertion is done at one end and removal is done at the other end. ... Priority queue does not have any ends. In a priority queue, elements can be inserted in any order but removal of the elements is in a sorted order.
Similar questions