Mental Model
We want to find if there is a loop in the graph where you can start at a node and follow edges to come back to the same node.
Analogy: Imagine a maze with one-way paths. If you can walk through the maze and return to where you started by following the arrows, there is a cycle.
Graph nodes with arrows showing direction: 1 -> 2 -> 3 ↑ ↓ └─────────
