Google News
logo
Algorithm - Quiz(MCQ)
Randomized quicksort is an extension of quicksort where the pivot is chosen randomly. What is the worst case complexity of sorting n numbers using randomized quicksort?
A)
O (n)
B)
O(!n)
C)
O(n^2)
D)
O (n log n)

Correct Answer :   O(n^2)

Advertisement