Topological Sort (Indegree)

Algorithm Visualizations
Online version (on David Galles' website)