graph
文章平均质量分 78
Ulricalin
这个作者很懒,什么都没留下…
展开
-
Course Schedule (graph)
Course ScheduleThere 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 to first take course 1, which is expre原创 2017-09-25 19:26:11 · 334 阅读 · 0 评论 -
Redundant Connection
Redundant ConnectionIn this problem, a tree is an undirected graph that is connected and has no cycles.The given input is a graph that started as a tree with N nodes (with distinct values 1, 2, …, N),原创 2017-10-05 21:37:54 · 717 阅读 · 0 评论 -
Redundant Connection II
Redundant Connection IIIn this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of this node, plus every node has exa原创 2017-10-15 21:55:52 · 916 阅读 · 1 评论