Track 03 · Algorithms
3.2 Graph Algorithms
9 topics in 1 parts. Use it as a checklist before an interview, or as a map of what to learn next.
- CCritical
- HHigh
- MMedium
- NNew 2026
01Graphs9 topics
- Adjacency list vs adjacency matrix: space trade-offH
- BFS: shortest path in unweighted graph, level traversalC
- DFS: connectivity, cycle detection, flood fillC
- Number of Islands / Connected Components patternC
- Topological Sort: Kahn's (BFS) and DFS post-orderH
- Dijkstra's shortest path: min-heap, O((V+E) log V)H
- Bellman-Ford: negative weights, O(VE)M
- Union-Find (DSU): path compression + union by rank, O(α(n))H
- Strongly connected components (Kosaraju's)M
Practise it
Knowing it is half.
Saying it is the rest.
Run a realistic voice interview with an AI panel in the Interview Room, then read a scored report on every answer.