engineering recuitment NIELIT Scientific Assistant Mock Test 2025 Algorithms Searching, Sorting and Hashing Sorting
For a list with n elements, how many passes does the bubble sort make to arrange the list in descending order?
1
n-1
2
n
3
n-i-1
4
n+1