Graph Algorithms
Networks traversed properly: BFS, DFS, shortest paths, MSTs, PageRank, and max flow. You will implement Dijkstra, Kruskal, Kosaraju-style components, centrality measures, and matching from scratch. Great preparation for both interviews and data-centric engineering work.
Your progress
0/27 · 0%Path readiness 0%Easy 0% · Medium 0% · Hard 0%
Continue path · Adjacency List BuildWhat you will learn
- Represent graphs as lists and matrices and traverse them breadth- and depth-first
- Find shortest paths and minimum spanning trees
- Compute centrality, PageRank, and bipartite matchings
- Handle bridges, strongly connected components, and max flow
Before you start
1Representations and Traversal
Build adjacency lists and matrices, then walk the graph: BFS order, iterative DFS, connected components, density, degree centrality, and a PageRank sweep.
- Adjacency List BuildEasygraph-001Graph Algorithms
- Easy
- BFS Traversal OrderEasygraph-003Graph Algorithms
- Easy
- Easy
- Graph DensityEasygraph-008Graph Algorithms
- Degree CentralityEasygraph-009Graph Algorithms
- Easy
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
2Paths and Spanning Trees
Connectivity with cost: cycle detection, Kahn's topological order, BFS shortest paths, Dijkstra with a heap, Prim, Kruskal, and course scheduling.
- Medium
- Medium
- Medium
- Dijkstra with HeapMediumgraph-021Graph Algorithms
- Prim MST WeightMediumgraph-024Graph Algorithms
- Kruskal MST WeightMediumgraph-025Graph Algorithms
- Medium
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- Prim MST WeightMedium
- Kruskal MST WeightMedium
- Course Schedule OrderMedium
3Centrality and Matching
Rank nodes and pair them: PageRank to tolerance, closeness, Brandes betweenness, eigenvector centrality, augmenting paths, and maximum bipartite matching.
- Closeness CentralityMediumgraph-029Graph Algorithms
- Medium
- Medium
- Medium
- Hard
- Hard
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- Maximum Bipartite Matching SizeMedium
- Betweenness Centrality (Brandes-lite)Hard
- Eigenvector Centrality (Power Iteration)Hard
4Robustness and Flow
Cuts, components, and capacity: articulation points, bridges, Kosaraju SCCs, edge betweenness, Ford-Fulkerson max flow, and negative-cycle path extraction.
- Hard
- Bridges CountHardgraph-037Graph Algorithms
- SCC Count (Kosaraju)Hardgraph-039Graph Algorithms
- Edge BetweennessHardgraph-130Graph Algorithms
- Hard
- Hard
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
Capstone
ContestClose the path with one real artifact from the catalog.
Build, traverse, and hunt cycles in a timed pass over the graph core.