Domanda di colloquio di Google

Test Cycle in a directed graph.