Why is the worst-case complexity of Quick sort O(n²)? Explain with example.

Why is the worst-case complexity of Quick sort O(n²)? Explain with example.

From the BKSP Assistant Programmer July 2024 – Written exam, question 5 of 7.

More from this paper