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}
Solve it on GATE DA practice →More Basic Data Structures problems