Pergunta de entrevista da empresa Mixed Dimensions

Find a cycle in a directed, unweighted graph.