What is the worst-case time complexity of QuickSort?

Explanation:

In worst-case, QuickSort takes O(n^2).

Explore more in Computer Science: