BANK SEBI Grade A Phase 1 & Phase 2 Mock Test 2024 Algorithms Searching, Sorting and Hashing Sorting
Consider the following array of elements.
〈89, 19, 50, 17, 12, 15, 2, 5, 7, 11, 6, 9, 100〉
The minimum number of interchanges needed to convert it into a max – heap is
1
4
2
5
3
2
4
6
5
3