Pergunta de entrevista da empresa Citadel Securities

Cycle detection in a directed graph