Multiple Choice
The behavior of quick sort is ____ in the worst case and ____ in the average case.
A) O(nlog2n) , O(nlog2n)
B) O(n2) , O(n)
C) O(nlog2n) , O(n2)
D) O(n2) , O(nlog2n)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q30: With the binary search algorithm, _ key
Q31: The _ search algorithm is the optimal
Q32: The selection sort algorithm finds the location
Q33: A sequential search of an n-element list
Q34: Consider the following list:int list[] = {4,
Q35: The top node of a comparison tree
Q36: The sequential search algorithm uses a(n) _
Q37: If n = 1000, then to sort
Q38: Suppose that L is a sorted list
Q40: With insertion sort, the variable firstOutOfOrder is