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?
A schedule of three database transactions \(T_1\), \(T_2\), and \(T_3\) is shown. \(R_i(A)\) and \(W_i(A)\) denote read and write of data item A by transaction \(T_i\), \(i = 1, 2, 3\). The transaction \(T_1\) aborts at the end. Which other transaction(s) will be required to be rolled back?

Consider the following \(B^+\) tree with 5 nodes, in which a node can store at most 3 key values. The value 23 is now inserted in the \(B^+\) tree. Which of the following options(s) is/are CORRECT?
