Which one of the following sequences when stored in an array at locations forms a max-heap?
- A23, 17, 10, 6, 13, 14, 1, 5, 7, 12
- B23, 17, 14, 7, 13, 10, 1, 5, 6, 12
- C23, 17, 14, 6, 13, 10, 1, 5, 7, 15
- D23, 14, 17, 1, 10, 13, 16, 12, 7, 5
Data StructuresBinary Search Trees (BSTs) & Binary HeapsMCQ1 mark · −1/3 if wrongMedium
A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.