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

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation