Algorithms
Sixty-seven algorithms in eight families. Pick one to watch it work, one step at a time.
networks
Places joined by roads: the shortest way, the cheapest links, what has to come first.
- Breadth-first searchLevel 2 of 3
- Depth-first searchLevel 2 of 3
- Dijkstra's shortest pathsLevel 2 of 3
- Kruskal's cheapest linksLevel 2 of 3
- Prim's cheapest linksLevel 2 of 3
- Topological orderLevel 2 of 3
- A* searchLevel 3 of 3
- Bellman-Ford shortest pathsLevel 3 of 3
- Floyd-Warshall, every pairLevel 3 of 3
- Maximum flowLevel 3 of 3