MCQ · 1 mark · Searching Sorting and Hashing
GATE CS 2014 CS-1 — Q14
Let be a quicksort program to sort numbers in ascending order using the first element as the pivot. Let and be the number of comparisons made by for the inputs and respectively. Which one of the following holds?