Did you know Cards Games

Prim's algorithm

Prim's algorithm: algorithm for finding the minimum spanning tree for weighted undirected graphs. No. 59,702 of 4,515,532 cards by fame.

Prim's algorithm: quick facts

Description
Algorithm for finding the minimum spanning tree for weighted undirected graphs
Invented
Edsger W. Dijkstra, Robert C. Prim
Rarity in the game
Legendary card
In its topic
No. 1,299 of 9,102 “Computer science” cards
Wikipedia
article in 32 languages
Wikidata
Q470813
Wikipedia page views
about 8,800 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 “Prim's algorithm”
Photo: Rômulo Penido, Public domain (Wikimedia Commons)

Prim's algorithm: summary

In computer science, Prim's algorithm is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

  • Control Panel — part of the Microsoft Windows graphical user interface
  • Terry A. Davis — American computer programmer
  • Internet café — place which provides internet access to the public
  • Difference engine — automatic mechanical calculator designed to tabulate polynomial functions
  • .jp — Internet country-code top level domain for Japan
  • Touchpad — pointing device
  • Altair 8800 — microcomputer designed in 1974
  • .aq — country code top-level domain for Antarctica
  • Exynos — family of system-on-a-chip models with ARM processor cores
  • .es — country code top-level domain for Spain
  • .kp — Internet country code top-level domain for the Democratic People's Republic of Korea
  • iPod Shuffle — digital audio player
  • Unix time — No. 651 of the “Computer science” cards
  • Sublime Text — No. 1,399 of the “Computer science” cards
  • .gd — No. 2,299 of the “Computer science” cards
  • AlphaBay — No. 2,598 of the “Computer science” cards

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

This card's topics

“Prim's algorithm” 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.