Q.

What is the complexity of adding an element to the heap.

A. O(log n)
B. O(h)
C. O(log n) & O(h)
D. O(n)
Answer» C. O(log n) & O(h)
3.7k
0
Do you find this helpful?
39

View all MCQs in

Data Structures (DS)

Discussion

No comments yet