How can you get the strongly connected components of a graph? — 1. DFS - calculate the finish times for each node 2. Reverse the edges in the graph 3. Call DFS on nodes in reverse graph in reverse order of finishing times.
G
1.2K
Google Interview
This flashcard deck made by jwasham contains knowledge about google interview. For more details, please follow https://github.com/jwasham/google-interview-university