Question d’entretien chez DoorDash

Topological sort question - just study topological sort.