1.

Let H be a primary min-heap consisting of n elements implemented as an array. What is the worst case time complexity of an optimal algorithm to find the maximum element in H?

A. θ(log n)
B. θ(n)
C. θ(1)
D. θ(n log n)
Answer» C. θ(1)


Discussion

No Comment Found

Related MCQs