Graph Algorithms Courses
Master graph algorithms with Coddy. Work through traversal, shortest paths, topological ordering, and minimum spanning trees - DFS, BFS, Dijkstra, Bellman-Ford, Kruskal, and Prim — with hands-on challenges in every language.
Browse by language
7 resultsPrim's Algorithm - Graph Algorithms
NewMaster Prim's Algorithm for Minimum Spanning Trees: grow one tree from a start vertex by always adding the cheapest crossing edge. Build it in your language of choice and answer bottleneck-edge and connectivity queries, the counterpart to Kruskal.
Certificate on completion
- 9
- 3
- 1
- 55
Kruskal's Algorithm - Graph Algorithms
NewMaster Kruskal's Algorithm for Minimum Spanning Trees. Build union-find, grow an MST by adding the cheapest cycle-free edge in your language of choice, and answer connectivity and bottleneck-edge queries.
Certificate on completion
- 9
- 3
- 1
- 57
Bellman-Ford Algorithm - Graph Algorithms
NewMaster the Bellman-Ford algorithm: single-source shortest paths that work with negative edge weights, plus negative-cycle detection. Build a relaxation pass, the full algorithm in your language of choice, and answer distance and cycle queries.
Certificate on completion
- 9
- 3
- 1
- 54
Dijkstra's Algorithm - Graph Algorithms
NewMaster Dijkstra's Algorithm, the greedy single-source shortest-path method for graphs with non-negative weights. Read weighted edges, build the full distance computation in your language of choice, and answer point-to-point and farthest-vertex queries.
Certificate on completion
- 9
- 3
- 1
- 54
Topological Sort - Graph Algorithms
NewMaster Topological Sort, the ordering of a directed acyclic graph so every edge points forward. Compute in-degrees, build an order with Kahn's algorithm in your language of choice, detect cycles, and find the longest path in a DAG.
Certificate on completion
- 9
- 3
- 1
- 55
Breadth-First Search - Graph Algorithms
NewMaster Breadth-First Search, the layer-by-layer graph traversal behind shortest paths. Build the neighbor lookup, write an iterative BFS with a queue in your language of choice, and use it to find shortest-path distances in unweighted graphs.
Certificate on completion
- 9
- 3
- 1
- 54
Depth-First Search - Graph Algorithms
NewMaster Depth-First Search, a fundamental way to explore a graph. Build the adjacency lookup, write an iterative DFS in your language of choice, analyze its O(V + E) complexity, and use it to count and measure connected components.
Certificate on completion
- 9
- 3
- 1
- 54