摘要: There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course 0 you have t 阅读全文
posted @ 2017-11-07 14:47 Review->Improve 阅读(436) 评论(0) 推荐(0) 编辑
摘要: Given an directed graph, a topological order of the graph nodes is defined as follow: For each directed edge A -> B in graph, A must appear before B i 阅读全文
posted @ 2017-11-07 12:44 Review->Improve 阅读(403) 评论(0) 推荐(0) 编辑