Question:

What is the number of passes made by bubble sort for a list containing n elements ?

Updated On: Oct 18, 2024
  • n
  • 10000 (n-1)
  • (n+1)
  • (n+2)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

The correct option is (B) : 10000 (n-1)
Was this answer helpful?
0
0