Google interview question

Explain the algorithm of topological sort