Question

A max-heap is built from the array [3, 9, 2, 1, 4, 5] using standard bottom-up heapify. What is the resulting array?

A [5, 9, 4, 1, 3, 2]
B [9, 3, 5, 1, 4, 2]
C [9, 4, 5, 3, 1, 2]
D [9, 4, 5, 1, 3, 2]
E [9, 4, 3, 1, 5, 2]
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)