Topo Sort assuming DAG