Domanda di colloquio di Windsurf

one question was a topological sort question