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

Cycle check in an undirected graph

During DFS on an undirected graph, you reach an already visited neighbour. When does that prove a cycle?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions