Given the following directed graph, if we executed Kosaraju-Sharir’s algorithm to detect the strongly connected components (SCCs) starting at node A and using descending DFS ordenation (Z to A), what would the SCCs be and in which order they would be returned?
- 2 SCCs: returned first BDCA and last FGH;
- 2 SCCs: returned first FGH and last BDCA;
- 4 SCCs: returned first H, G, F and last BDCA;
- 4 SCCs: returned first BDCA, F, G and last H;
- None of the above.
Original idea by: Fillipi Valadares
Good question. I'll take it.
ReplyDelete