We have a binary heap on n elements and wish to insert n more elements (not
necessarily one after another) into this heap. The total time required for this is
- A\(\Theta\) (logn)
- B\(\Theta\) (n)
- C\(\Theta\) (nlogn)
- D\(\Theta (n^{2})\)
Solve it on GATE DA practice →More Basic Data Structures problems