Pregunta de entrevista de Google

Graph question detecting a cycle