...
Heap-Tree
October 9, 2023
Nielit Scientist-B CS 22-07-2017
October 9, 2023
Heap-Tree
October 9, 2023
Nielit Scientist-B CS 22-07-2017
October 9, 2023

Heap-Tree

Question 9

Which of the following sequences of array elements forms a heap?

A
{23, 17, 14, 6, 13, 10, 1, 12, 7, 5}
B
{23, 17, 14, 6, 13, 10, 1, 5, 7, 12}
C
{23, 17, 14, 7, 13, 10, 1, 5, 6, 12}
D
{23, 17, 14, 7, 13, 10, 1, 12, 5, 7}
Question 9 Explanation: 

In this every children and parent satisfies Max heap properties.
Correct Answer: C
Question 9 Explanation: 

In this every children and parent satisfies Max heap properties.
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!!