Quiz question 03
How does the Kosaraju–Sharir algorithm identify Strongly Connected Components (SCC)?
a.) Performs a DFS on a graph G. Then, it orders the nodes by decreasing finishing times. The branches found by the DFS are considered strongly connected components.
b.) Applies only to cyclic graphs. If a cycle has more than three nodes, then it is considered a strongly connected component.
c.) Performs a DFS on a graph G. Then, it orders the nodes by decreasing finishing times. This order is used to perform a second DFS on the transposed graph G′ (where all edges are reversed). The trees formed during this DFS are considered strongly connected components.
d.) Identifies cycles in a graph G, where for any pair of nodes u and v, there is a path from u to v and from v to u.
e.) None of the above
Original idea by: Julia de Pietro Bigi
Nice question, but we already have some like it.
ResponderExcluir