1,051 views
0 votes
0 votes
a)Deletion of smallest element in heap

b)Insertion of an element in a heap will take

$O(n)$ or $O(logn)$ time?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
2
akankshadewangan24 asked Dec 2, 2017
311 views
to find the maximum elements in a min heap represnted by an array can be computed in ____________ timea. theta nb.theta n2c.theta nlognd.theta 1
0 votes
0 votes
1 answer
4
saurav raghaw asked Dec 22, 2018
686 views
The time complexity of the most efficient algorithm to determine whether an arbitrary array of size ‘n’, is min-heap or not?(A) O(log n)(B) O(n)(C) O(n logn)(D) O(1)