Google interview question

dependency sorting - classic dfs