Start learning →

A priority queue is designed to retrieve and remove the element with the:

AHighest pointer
BHighest pattern
CHighest priority
DHighest position
Answer & Solution
Correct answer: C. Highest priority
1. Ordinary queues remove the oldest element. 2. This one removes by priority instead. 3. So it removes the highest priority. _Source: OpenStax Introduction to Computer Science, Chapter 3, Data Structures and Algorithms._
Practise this question with Quill — Coding Interview Prep →

Keep practising Data Structures and Algorithms

Browse all Data Structures and Algorithms questions for Coding Interview Prep, or explore more Computer Science topics.

Start a Data Structures and Algorithms lesson →
Related questions