What is the complexity of finding the 100th largest element in an already constructed binary max-heap?

NOTE:
Max-heap contains n distinct elements

1
θ (1)
2
θ (log n)
3
θ (n)
4
θ (n × log n)
5
θ (n2 )

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation