detect cycle in Digraph or toposort
detect cycle in Digraph or toposort

python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution,python27/AlgorithmSolution