Pregunta de entrevista de Nalashaa Solutions

Detect a cycle in a directed/undirected graph using DFS.