You have an array of n elements. Suppose you implement quick sort by always choosing the central element of the array as the pivot. Then the tightest upper bound for the worst case performance is
- A\(O(n^{2})\)
- B\(O(n logn)\)
- C\(\theta (n logn)\)
- D\(O(n^{3})\)