Did you know Cards Games

Insertion sort

Insertion sort: sorting algorithm that, at each iteration, inserts the current input element into the suitable position between the already sorted elements. No. 26,168 of 4,515,532 cards by fame.

Insertion sort: quick facts

Description
Sorting algorithm that, at each iteration, inserts the current input element into the suitable position between the already sorted elements
Rarity in the game
Legendary card
In its topic
No. 609 of 9,102 “Computer science” cards
Wikipedia
article in 40 languages
Wikidata
Q117241
Wikipedia page views
about 16,000 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 “Insertion sort”
Photo: Nuno Nogueira (Nmnogueira), CC BY-SA 2.5 (Wikimedia Commons)

Insertion sort: summary

Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time by comparisons. It is much less efficient on large lists than more advanced algorithms such as quicksort, heapsort, or merge sort. However, insertion sort provides several advantages: Simple implementation: Jon Bentley shows a version that is three lines in C-like pseudo-code, and five lines when optimized.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

  • iMac — all-in-one desktop computer designed and marketed by Apple Inc. and manufactured by Foxconn
  • Spyware — malware designed to secretly monitor activity and collect information from digital devices without the user's knowledge
  • Project Gutenberg — free digital library
  • MSN — collection of Internet sites by Microsoft
  • Symbian — mobile operating system
  • Machine translation — use of software for language translation
  • The dress — viral phenomenon regarding the colour of a dress
  • Screenshot — snapshot of the screen of a computer or other electronic device
  • MongoDB — cross-platform document-oriented database management system
  • jQuery — JavaScript library
  • Brainfuck — esoteric, minimalist programming language
  • AirDrop — proprietary file sharing from iOS to MacOS (vice versa), or iOS to iOS device
  • Computer file — No. 305 of the “Computer science” cards
  • Threads — No. 709 of the “Computer science” cards
  • CP/M — No. 1,218 of the “Computer science” cards
  • ASUS Eee PC — No. 1,609 of the “Computer science” cards

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

This card's topics

“Insertion sort” 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.