Multiple Choice
A bubble sort requires at most ______ passes to sort an array of n items.
A) n/2
B) n - 2
C) n - 1
D) n
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q45: The analysis of an algorithm must take
Q46: The efficiency of the selection sort depends
Q47: Given the following array: 4 15 8
Q48: Given the fact that a selection sort
Q49: What is an internal sort?
Q51: Assuming a linked list of n nodes,the
Q52: The solution to the Towers of Hanoi
Q53: The mergesort is a recursive sorting algorithm.
Q54: Consider an algorithm that contains loops of
Q55: Low-order terms can be ignored in an