Domanda di colloquio di Google

its graph question. topological sort