
拓扑排序
文章平均质量分 80
jmspan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 210. Course Schedule II(课程安排)
原题网址:https://leetcode.com/problems/course-schedule-ii/ 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 cour原创 2016-05-04 17:09:45 · 840 阅读 · 0 评论 -
LeetCode 323. Number of Connected Components in an Undirected Graph(连通分量)
原题网址:https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph/ Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), wr原创 2016-04-25 02:50:21 · 2230 阅读 · 0 评论 -
LeetCode 269. Alien Dictionary(外星人字典)
原题网址:https://leetcode.com/problems/alien-dictionary/ There is a new alien language which uses the latin alphabet. However, the order among letters are unknown to you. You receive a list of words原创 2016-04-13 02:23:36 · 5541 阅读 · 0 评论