MCQ · 1 mark · Searching Sorting and Hashing

GATE CS 2014 CS-3 — Q14

You have an array of nn elements. Suppose you implement quicksort by always choosing the central element of the array as the pivot. Then the tightest upper bound for the worst case performance is
Select one option