Worst case complexity of quick sort occurs in 2 cases, when smallest or largest element of array is chosen as pivot element. Now, both the smallest and largest elements of array cannot lie between (n/3)rd smallest element and (2n/3)rd smallest element of array. So both the case of worst cases are avoided and hence worst case can’t be O(n^2).
So answer is C, D