Windsurf interview question

one question was a topological sort question