Bellman-Ford Algorithm - Graph Algorithms
Master 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.
Topics
Syllabus
3 chapters9 lessons1 project3 challenges54 quiz questionsIntroduction
2 lessons17- 01Introduction
- 02Motivation
The Algorithm
Project5 lessons137- 01How it works?
- 02Pseudo Code
- 03Implementation (Part 1)
- 04Implementation (Part 2)
- 05Time and Space Complexity
Final Challenges
2 lessons2- 01Final Challenge #1
- 02Final Challenge #2
More like this
Dijkstra's Algorithm - Graph Algorithms
Master 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
Prim's Algorithm - Graph Algorithms
Master 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
Breadth-First Search - Graph Algorithms
Master 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
Topological Sort - Graph Algorithms
Master 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
Kruskal's Algorithm - Graph Algorithms
Master 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