Analysis

Cycle Detection (DFS)

Detect cycles in a directed graph using a Depth-First Search. A back-edge to a node in the current recursion stack signifies a cycle.

📜 Execution Log

Ready. Add nodes and edges to detect cycles.

🧠 Legend

In Recursion Stack
Visited (Finished)
Back-edge Found