The correct answer is (d) O(n^2)
Easy explanation - The worst case running time for Quick sort is O(n^2). In Quick sort, the worst case behaviour occurs when the partitioning routine produces two sub-arrays one with n – 1 element and other with 0 elements.