BANK SEBI Grade A Phase 1 & Phase 2 Mock Test 2024 Algorithms Searching, Sorting and Hashing Sorting
Consider an array on which bubble sort is used. The bubble sort would compare the element A[x] to which of the following elements in a single iteration.
1
A [x + 1]
2
A [x + 2]
3
A [x + 2x]
4
A [x]
5
None of Above