Netflix interview question

Question related to topological sort