The fatal oversight
MCQWe launch a traversal (BFS or DFS) on a graph that contains a cycle, but we forget to keep the list of the already visited vertices. What happens?
We launch a traversal (BFS or DFS) on a graph that contains a cycle, but we forget to keep the list of the already visited vertices. What happens?