0
The keys 10, 4, 15, 2, 8, 1 are inserted one by one into an initially empty min-heap (each insertion followed by sift-up). The array representation of the heap is
- A1 2 4 10 8 15
- B1 4 2 10 8 15
- C1 4 2 8 10 15
- D2 4 1 10 8 15
Correct answer: B
The keys 10, 4, 15, 2, 8, 1 are inserted one by one into an initially empty min-heap (each insertion followed by sift-up). The array representation of the heap is