Question d’entretien chez DoorDash

question about topology sort / DFS