Did you know Cards Games

Floyd–Warshall algorithm

Floyd–Warshall algorithm: algorithm for finding all-pairs shortest paths in graphs, allowing some edge weights to be negative. No. 83,559 of 4,515,532 cards by fame.

Floyd–Warshall algorithm: quick facts

Description
Algorithm for finding all-pairs shortest paths in graphs, allowing some edge weights to be negative
Invented
1959, Bernard Roy
Rarity in the game
Legendary card
In its topic
No. 1,745 of 9,102 “Computer science” cards
Wikipedia
article in 23 languages
Wikidata
Q1047576
Wikipedia page views
about 8,400 a month (November 2025 – October 2026)

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

Picture illustrating “Floyd–Warshall algorithm”
Photo: Mablue92, CC BY-SA 4.0 (Wikimedia Commons)

Floyd–Warshall algorithm: summary

In computer science, the Floyd–Warshall algorithm (also known as Floyd's algorithm, the Roy–Warshall algorithm, the Roy–Floyd algorithm, or the WFI algorithm) is an algorithm for finding shortest paths in a directed weighted graph with positive or negative edge weights (but with no negative cycles). A single execution of the algorithm will find the lengths (summed weights) of shortest paths between all pairs of vertices.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

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

This card's topics

“Floyd–Warshall 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.