Skip to content
RED SAGSkills
hard20 pts · first answer countsgraphsdfscycle-detection

False cycle alarm in a dependency graph

A build tool reports a cycle whenever DFS meets an already visited node. For edges A → B, A → C, B → D, C → D, what goes wrong?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions