The essential part of Heap sort is construction of max-heap. Consider the tree shown below, the node 24 violates the max-heap property. Once heapify procedure is applied to it, which position will it be in?

A. 4
B. 5
C. 8
D. 9
Answer: Option D

Join The Discussion