Related Articles

Related Articles

GATE | GATE CS 1996 | Question 36
  • Last Updated : 01 Nov, 2017

The minimum number of interchanges needed to convert the array 89, 19, 40, 17, 12, 10, 2, 5, 7, 11, 6, 9, 70 into a heap with the maximum element at the root is
(A) 0
(B) 1
(C) 2
(D) 3


Answer: (C)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

sudo-gate-course

My Personal Notes arrow_drop_up
Recommended Articles
Page :