Count Visited Nodes in a Directed Graph
A Hard coding interview problem in the Graphs pattern.
Likely pattern
BFS, DFS, union find and topological order over nodes and edges.
Recognition cue: Grids of cells, connectivity, islands, dependencies or prerequisites.
- Learn first
- Do not confuse it with
Topics
- Dynamic Programming
- Graph
- Memoization
Practise Graphs next
- 1Hard
- 2Hard
- 3Hard
- 4Hard
- 5Hard
- 6Hard
- 7Hard
- 8Hard