Quick sort has worst-case complexity:
-
A
O(n)
-
B
O(log n)
-
C
O(n²)
Correct answer
-
D
O(n log n)
9 views
Explanation
Quick sort worst case: O(n²). Source: FBISE Class 12 Computer Science syllabus-aligned item.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ