The Gateway to Computer Science Excellence
0 votes
33 views

Consider the following sequence $( 50,17,14,8, 13,10, 2,5,7,12)$ what is the Minimum number of interchanges required to make it Max heap?

  1. $4$
  2. $2$
  3. $3$
  4. $0$
in Programming by Veteran (74.6k points)
edited by | 33 views

1 Answer

+2 votes
Best answer

Minimum number of interchanges required to make it Max heap are 0.

 

by (331 points)
selected by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,339 answers
198,449 comments
105,205 users