edited by
276 views
2 votes
2 votes
Show that there are at most (n/2^h+1) nodes of height h in any n-element heap.
edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
syedasafoora asked Nov 8, 2023
247 views
Consider the following algorithm for Build-Max-heap and the given array A=[ 47,96, 35, 54, 77, 65, 83]. Run this algorithm on the given array and redraw the heap and the ...
2 votes
2 votes
0 answers
2
Markzuck asked Jan 13, 2019
1,237 views
Please explain the logic behind this shortcut and when to be used?
0 votes
0 votes
0 answers
3
bts1jimin asked Sep 10, 2018
1,876 views
What is the number of comparisons required to extract 45th element of the min heap?
0 votes
0 votes
0 answers
4