0The worst-case time complexity of Quick Sort isAO(n)BO(n log n)CO(log n)DO(n²) Correct answer: D ExplanationWhen the pivot is always the smallest or largest element (for example on an already sorted array with the first element as pivot), the partitions are unbalanced and the cost is O(n²). Join the discussion Report an error Share