algorithms, data structures, and system behavior
Choose a data structure
A clinic must process patients by urgency, then arrival time within equal urgency. Operations: add patient, update urgency, remove highest priority.
- Order is priority-based, not simple arrival order.
- Updates must be supported.
- A priority queue models removal rule.
Which structure is the best fit?
MODELAlgorithm Trace Deck
DATA
PROVEChoose with evidence
CLUEPause. Find what matters. Then make your move.