Question d’entretien chez Uber

A graph problem above topological sort