In a max-heap containing n
elements, what is the position of the element with the
greatest value?
0n-1n+1n2*n+12*n+2Remember this is a max-heap. So where is the biggest element?
It is at the root. So, what position holds the root?