The worst case occurs in quick sort when _________

The worst case occurs in quick sort when _________ Correct Answer Pivot is the smallest element

This happens when the pivot is the smallest (or the largest) element. Then one of the partitions is empty, and we repeat recursively the procedure for N-1 elements.
Bissoy MCQ

Related Questions

What is the purpose of using randomized quick sort over standard quick sort?
What is the purpose of using a median of three quick sort over standard quick sort?
The worst case complexity of quick sort is _________
Why is insertion sort preferred over other sorting algorithms (like selection sort, bubble sort etc.) for Tim sort implementation?