engineering recuitment ISRO Scientist Computer Science Mock Test Programming and Data Structure Binary Heap Binary Search Tree
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