ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the worst-case time complexity of Quick Sort?
Correct Answer: C — O(n²)
Quick Sort's worst case O(n²) occurs when the pivot is always the smallest or largest element (e.g., already sorted array with first element as pivot). Average case is O(n log n).