Let \(A\) be a priority queue implemented using a max-heap.
Extract-Max(A) deletes and returns the maximum element;
Insert(A, key) inserts a new element. The max-heap property is preserved after each operation.
When \(A\) has \(n\) elements, which statement about the worst-case running times is TRUE?
The problem involves understanding the worst-case running times of two operations, Extract-Max(A) and Insert(A, key), on a max-heap data structure, which is commonly used to implement priority queues.
| LIST I | LIST II |
|---|---|
| (A) Circular Linked List | (I) Recursive Function Calls |
| (B) Doubly Linked List | (II) Round Robin Queue in CPU |
| (C) Stack | (III) Hash Tables |
| (D) Singly Linked List | (IV) Undo and Redo Functionality |