Mental Model
We want to find if there is a loop in the graph where you can start at one node and come back to it by following edges without repeating the same edge twice.
Analogy: Imagine walking in a park with paths connecting benches. If you can walk around and return to the same bench without retracing your steps backward, there is a loop in the paths.
Graph: 1 --- 2 | | 4 --- 3 Edges connect nodes. A cycle means you can start at a node and return to it by following edges without going back on the same edge.
