Question 76
Which statements about DFS on a directed graph are CORRECT?
Back edges indicate cycles, finishing times are fundamental to DFS, and decreasing finishing times of a DAG give a topological order.
Which statements about DFS on a directed graph are CORRECT?
Back edges indicate cycles, finishing times are fundamental to DFS, and decreasing finishing times of a DAG give a topological order.
Which statements about bridges and articulation points are CORRECT for an undirected graph?
The first three are standard DFS low-link properties; an articulation vertex can have incident non-bridge edges.
Which statements about shortest paths are CORRECT?
Dijkstra needs nonnegative weights, Bellman-Ford detects reachable negative cycles, and DAG shortest paths take O(V+E). Floyd-Warshall is all-pairs.
Which statements about MSTs are CORRECT?
These are consequences of the cut and cycle properties. Negative edge weights are allowed in MST problems.
Which statements about Kruskal and Prim are CORRECT?
Kruskal uses DSU to avoid cycles; Prim grows a tree and does not require nonnegative weights.