Question 8
Marks : +2 | -2
Pass Ratio : 100%
The worst case occurs in quick sort when _________
Explanation: 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.