2025-002
Consider the directed graph below:
Applying the Kosaraju-Sharir algorithm, we wish to identify the strongly connected components (SCCs) of the graph. Regarding the steps and the result obtained, analyse the statements below:
I. In the first execution of DFS, the completion times of each vertex are used to define the order of exploration in the transposed graph.
II. The transposed graph is obtained simply by inverting all the edges of the original graph.
III. Each tree in the search forest in the second execution of DFS corresponds to a strongly connected component.
IV. The algorithm can identify cycles, but cannot isolate nodes that are not part of any cycle.
Which statements are correct?
A) I, II, and III only.
B) I and IV only.
C) II and III only.
D) All are correct.
E) None of the above.
Author: Giancarlo Maldonado Cárdenas

Boa querstão, mas achei um pouco fácil demais.
ResponderExcluir