Which one is the most suitable for implementing a priority queue ?

Which one is the most suitable for implementing a priority queue ? Correct Answer Dequeue (double ended queue)

A priority queue is an abstract data type, which is like a regular queue or stack data structure. A priority queue must at least support the operations: insert_with_priority, pull highest_priority_element.

Related Questions