1.

What will be the order of new heap created after union of heap H1 and H2 when created by the following code.Initially both are of the order n.

A. N+1
B. N+n/2
C. Nlogn
D. 2*n
Answer» B. N+n/2


Discussion

No Comment Found