GRAPHS · TRAVERSAL

Traversal

Visit every reachable node — in rings (BFS) or by diving deep (DFS).

Choose an algorithm