recategorized by
829 views
0 votes
0 votes

recategorized by

1 Answer

0 votes
0 votes
you can extract the min everytime from min heap at the 100Th time the 100th smallest will come out and again to maintain the heapify property it will be O(logn) so 100 times O(100*logn)

so answer will be $\Theta (\log n)$

Related questions

2 votes
2 votes
1 answer
2
LRU asked Nov 3, 2021
848 views
The time required to determine the minimum element from the max heap of size O(log(n)) is given by