Pregunta de entrevista de Citadel Securities

Cycle detection in a directed graph