Vidyalelo
Data Structure · Q151

Sorting Algorithms

Programming · Data Structure · question 151

Q151

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?

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?
Sorting Algorithms mcq question image
A.
4
B.
5
C.
8
D.
9
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board