Pregunta de entrevista de MissionWired

Had to complete a graph exercise