Graph Garden·Jul 22Dijkstra’s Algorithm — Shortest Paths with Non-Negative WeightsBFS, but with weighted edges. The graph algorithm behind every car-navigation app and most internet routers — and its correctness proof…A response icon1A response icon1
Graph Garden·Jun 17Kruskal’s Algorithm — Building the Cheapest TreeThe first weighted graph algorithm to learn. Four lines of pseudocode, a correctness proof, and a broad set of applications.
Graph Garden·Jun 3Four Graph Algorithms, Visualized — A Guided TourA guided tour of DFS, BFS, Kruskal’s, Dijkstra’s, and Bellman-Ford — what they solve, how they relate, and where to start.
Graph Garden·Jun 3DFS and BFS — How to Visit Everything in a GraphThe two foundational graph algorithms — same code, one data structure apart, completely different visit orders.