Learn · DSA
Nodes, edges, paths, and networks.
Adjacency list vs matrix
Explore level by level
Go deep, then backtrack
Shortest paths, no negative edges
Shortest paths with negative edges
Shortest paths between all pairs
Shortest path with a smart guess
Grow a tree from one node
Add the cheapest safe edge
Order tasks by dependencies
Union by rank, path compression
Find loops in a graph
Color the graph with two colors
Kosaraju and Tarjan
Edges and nodes that hold it together
Push flow through a network