Question d’entretien chez ByteDance

Graph problem, likely to be topological sort