Assume that the last element of the set is used as partition element in…

PYQ GATE 1992

Assume that the last element of the set is used as partition element in Quicksort. If n distinct elements from the set [1.....n] are to be sorted, give an input for which Quicksort takes maximum time.

Attempted by 1 students.

Sign up free to check your answer

Sign up free

Explore the full course: Algorithms

Loading lesson…