0
A max-heap is represented as the array [50, 30, 40, 10, 20, 35, 15]. What is the array after one call to extract-max (removing the maximum and re-heapifying)?
- A[40,30,35,10,20,15]
- B[40,30,35,15,20,10]
- C[40,35,30,10,20,15]
- D[40,30,20,10,15,35]
Correct answer: A