Everything About ___
Live briefing

Everything about Smoothsort

Comparison-based sorting algorithm

In computer science, smoothsort is a comparison-based sorting algorithm. A variant of heapsort, it was invented and published by Edsger Dijkstra in 1981. Like heapsort, smoothsort is an in-place algorithm with an upper bound of O(n log n) operations (see big O notation). Like heapsort, smoothsort is not a stable sort. The advantage of smoothsort is that it comes closer to O(n) time if the input is already sorted to some degree, whereas heapsort averages O(n log n) regardless of the initial sorted state. Wikipedia →

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

  1. Read the overview: SmoothsortA 5-minute orientation
  2. Read the landmark paper: Smoothsort, an alternative for sorting in situCited 54 times
  3. Go sideways: HeapsortA closely related topic
  4. Go sideways: Weak heapA closely related topic

đź“– Definitions

Noun A sorting algorithm based on heapsort but using the Leonardo numbers, tending to perform better than heapsort in cases where the items to be sorted are already partially sorted.

🗂️ The subject at a glance

  1. Overview
  2. Operations
  3. Analysis
  4. Poplar sort
  5. Applications

🏆 Landmark papers (most cited)

📚 Books worth reading

Open Library didn't respond; try again in a moment.

đź”— Related topics