Back to Data Structures & Algorithms

Advanced Graphs

Tackling complex graph problems like topological sorting and finding shortest paths with Dijkstra's, Bellman-Ford, and other algorithms.

2 weeks

Topics in this Chapter

1

Topological Sort

Linearly ordering the vertices of a Directed Acyclic Graph (DAG).

2

Dijkstra's Algorithm

Finding the shortest paths from a single source vertex to all other vertices in a graph with non-negative edge weights.

3

Bellman-Ford Algorithm

An algorithm for single-source shortest paths that can handle negative edge weights and detect negative cycles.

4

Floyd-Warshall Algorithm

An all-pairs shortest path algorithm that finds the shortest distance between every pair of vertices.

GeekDost - Roadmaps & Snippets for Developers