Q14
You have an array of 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
Show answer without attempting
Answer: A
GATE CS · Searching Sorting and Hashing · 2 questions
2 Sorting questions from GATE CS papers (2014), each with the official answer key. Part of Searching Sorting and Hashing. Answer any question right here and it is marked straight away, or practise them one at a time.
Answer: A
Answer: C
0/20 correct0 marks