Good Utilization of the 4-Heap
Four children of a node
have this pattern
i
4(i-3) 4(i-3)+1 4(i-3)+2 4(i-3)+3
About log43n misses per
delete-max that percolates
down to the leaves.
log43n is approximately (log2n) / 2
Previous slide
Next slide
Back to first slide
View graphic version