Meta interview question

Topological sorting problems on LC