Which of the following is the Best Case Time Complexity Quicksort algorithm?
Show answer
Correct answer C
Best case occurs when the pivot divides the array into two equal halves each time. This leads to a balanced recursion tree. Hence, Quick Sort runs in O(n log n) time in the best case. Key facts: Average case → O(n log n) Worst case → O(n²) Example size: n = 8 → log₂(8) = 3 levels Total comparisons ≈ n log n.