Function topological_sort

Source
pub fn topological_sort(graph: &[Vec<usize>]) -> Vec<usize>