Everything About ___
Live briefing

Everything about Quickselect

Algorithm for the kth smallest element in an array

In computer science, quickselect is a selection algorithm to find the kth smallest element in an unordered list, also known as the kth order statistic. Like the related quicksort sorting algorithm, it was developed by Tony Hoare, and thus is also known as Hoare's selection algorithm. Like quicksort, it is efficient in practice and has good average-case performance, but has poor worst-case performance. Quickselect and its variants are the selection algorithms most often used in efficient real-world implementations. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: QuickselectA 5-minute orientation
  2. Skim a recent paper: Adaptive method for phase-field fracture using a volume weighted Quickselect algorithmInfluential work since 2022
  3. Pick up a classic book: Data Structures and Algorithms in JavaThe most-reprinted book on the subject
  4. Read the landmark paper: Quickselect and the Dickman FunctionCited 51 times
  5. Go sideways: QuicksortA closely related topic
  6. Go sideways: Median of mediansA closely related topic

đź“– Definitions

Noun A sorting algorithm related to quicksort, but with limited recursion.

🗂️ The subject at a glance

  1. Algorithm
  2. Time complexity
  3. Variants

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics