Practice free →
HomeAP Computer Science AComputer ScienceData Structures and Algorithms › A collection where every element carries an asso…

A collection where every element carries an associated priority value is a:

APriority queue
BStatic buffer
CPlain array
DLinked chain
Answer & Solution
Correct answer: A. Priority queue
1. Elements are not treated equally. 2. Priority decides the order. 3. It is a priority queue. _Source: OpenStax Introduction to Computer Science, Chapter 3, Data Structures and Algorithms._
Solve this in the app — AP Computer Science A practice & 24k+ MCQs →
Related questions