###### C Programming

## Prove that in a heap, the leaves starts from index ⌊n/2⌋+1,⌊n/2⌋+2,…,n

We need to prove that in an array representation of heap, the leaves starts at index **⌊n/2⌋+1**, **⌊n/2⌋+2** . . .and goes till **n**, n being the last leaf of the heap.
(more…)