GATE CS 2023 (Forenoon) — Question 12

Data StructuresBinary Search Trees (BSTs) & Binary HeapsMCQ1 mark · −1/3 if wrongMedium

Which one of the following sequences when stored in an array at locations \( A[1], \dots, A[10] \) forms a max-heap?
  1. A
    23, 17, 10, 6, 13, 14, 1, 5, 7, 12
  2. B
    23, 17, 14, 7, 13, 10, 1, 5, 6, 12
  3. C
    23, 17, 14, 6, 13, 10, 1, 5, 7, 15
  4. D
    23, 14, 17, 1, 10, 13, 16, 12, 7, 5
Practise the full 2023-FN paper
Challenge a friend: WhatsApp Telegram
From RENYXERAFree All-India Mock — every SundayA full GATE CS paper, exactly 180 minutes, ranked across India with your GATE score.
Practise more on Binary Search Trees (BSTs) & Binary HeapsTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group