Which of the following sequences of array elements forms a heap?
PYQ GATE 2006
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}
Attempted by 505 students.
Sign up free to check your answer
Sign up freeLoading lesson…

