previous
|
start
|
next
Max Heap - answer?
1st largest must be at position 0 (depth 0)
2nd largest can be at positions 1 - 2 (depth 1)
3rd largest can be at positions 1 - 6 (depth 1 or 2)
4th largest can be at positions 1 - 14 (depth 1, 2, or 3)
previous
|
start
|
next