Menu
×
×
Correct!
Exercise:How does DFS cycle detection work?
In DFS cycle detection,
a cycle is detected if
we come to a vertex during
traversal, and that vertex
has already been @(7).
In DFS cycle detection,
a cycle is detected if
we come to a vertex during
traversal, and that vertex
has already been visited.
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 43 exercises.
Are you sure you want to continue?