Teaching Rajasthan Basic Computer Instructor 2021 Mock Test 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
All of these.