Pregunta de entrevista de Google

Find every possible path in a directed graph