Did you know Cards Games

Heapsort

Heapsort: worst-case optimal in-place comparison sorting algorithm based on the heap data structure. No. 46,325 of 4,515,532 cards by fame.

Heapsort: quick facts

Description
Worst-case optimal in-place comparison sorting algorithm based on the heap data structure
Invented
1964, J. W. J. Williams
Rarity in the game
Legendary card
In its topic
No. 1,036 of 9,102 “Computer science” cards
Wikipedia
article in 38 languages
Wikidata
Q474095
Wikipedia page views
about 9,600 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Play Masterpiece: match works to their artist →

Picture illustrating “Heapsort”
Photo: Explorer09, CC0 (Wikimedia Commons)

Heapsort: summary

In computer science, heapsort is an efficient, comparison-based sorting algorithm that reorganizes an input array into a heap (a data structure where each node is greater than its children) and then repeatedly removes the largest node from that heap, placing it at the end of the array in a similar manner to Selection sort.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

  • Orkut — social networking site owned and operated by Google
  • Apache Tomcat — an implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies
  • Gentoo Linux — Linux distribution
  • Queue — abstract data type
  • ATX — computer motherboard and power supply configuration specification
  • Fandom — wiki hosting service and domain
  • Character (computing) — primitive data type
  • Vivaldi — web browser with built-in email client
  • Waveform Audio File Format — file format standard for storing audio on PCs
  • Gray code — ordering of binary strings such that subsequent strings differ only in one bit
  • Knapsack problem — problem in combinatorial optimization
  • Digital Revolution — change from analog, mechanical, and electronic technology to digital technology

The best-known of the 9,102 “Computer science” cards

This card's topics

“Heapsort” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.