1,800 views
2 votes
2 votes

The minimum number of interchanges needed to convert the array 90, 20, 41, 18, 13, 11, 3, 6, 8,12, 7, 71, 91 into a maximum heap is _____

  1. 5
  2. 3
  3. 4

1 Answer

Best answer
1 votes
1 votes
the answer is 3 i.e. 4 interchanges are required (to make 91 as root 71 one level up and 90 & 40 one level down)
selected by

No related questions found