Skip to content
Medium Analyze Sorting & Searching open_ended

Quickselect finds the kth largest element in O(n) average. Why is it not O(n log n)?

Analyze — Tests ability to break down and examine complex problems.

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 31+ more Sorting & Searching questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Sorting & Searching topic (Algorithms).

More Sorting & Searching Questions