Consider a min-heap. After inserting element 4 into heap structure order 3, 6, 5, 12, 9, 10, the ordered list will be

1
6, 6, 5, 12, 9, 10, 4
2
3, 6, 4, 12, 9, 10, 5
3
3, 9, 5, 12, 6, 10, 4
4
3, 5, 6, 9, 10, 12, 4

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation