Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Algorithms Searching, Sorting and Hashing Sorting
What is the minimum number of swaps required to sort the given set of elements in increasing order using bubble sort algorithm?
{5, 3, 2, 6, 12, 1, 10, 7, 4, 8, 9}1
10
2
20
3
16
4
21