Computer-Networks
October 9, 2023
IPv4-and-Fragmentation
October 9, 2023
Computer-Networks
October 9, 2023
IPv4-and-Fragmentation
October 9, 2023

Data-Structures

Question 26

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
Question 26 Explanation: 
Lets draw first heap from given sequence,

Correct Answer: C
Question 26 Explanation: 
Lets draw first heap from given sequence,

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!