Fundamentals of Algorithms

Question #119

Read the question, compare the options, and review the correct answer below.

CS502 · Final-term only#119

In digraph G=(V,E) ;G has cycle if and only if

  1. A
    ?The DFS forest has forward edge.
  2. B
    ?The DFS forest has back edge (Page 131)
  3. C
    ?The DFS forest has both back and forward edge
  4. D
    ?BFS forest has forward edge
Show correct answer

Correct answer: B. ?The DFS forest has back edge (Page 131)

Check community answers against your course notes.
← More practice questionsTake a timed test