All Categories
Graphs
DFS/BFS on nodes and edges.
Connected components, cycle detection, topological sort.
Key Concepts
Adjacency List
Map node to neighbors
Union-Find
Track components
DFS/BFS on nodes and edges.
Connected components, cycle detection, topological sort.
Map node to neighbors
Track components