READINESS CHECK · NO ACCOUNT

How ready are you for the Computer Science exam?

10 questions across the official subject areas, about 10 minutes. You see the answer and the reasoning after each one, and your weakest areas at the end.

Question 1/10 · Algorithms, computability & complexity

An engineer is implementing a priority queue that must support the operations insert and extract-min on a collection of items with distinct priorities. Two implementations are considered: (1) a binary min-heap, and (2) a balanced binary search tree. Both support insert and extract-min in O(log n) time. Which statement correctly analyzes a key difference between these implementations that affects the choice for this workload?