You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Java/Course Schedule.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
M
2
+
1
3
有点绕,但是做过一次就明白一点。
2
4
是topologicalsort的题目。一般都是给有dependency的东西排序。
3
5
@@ -26,7 +28,8 @@
26
28
There are a total of 2 courses to take. To take course 1 you should have finished course 0. So it is possible.
27
29
28
30
2, [[1,0],[0,1]]
29
-
There are a total of 2 courses to take. To take course 1 you should have finished course 0, and to take course 0 you should also have finished course 1.
31
+
There are a total of 2 courses to take. To take course 1 you should have finished course 0,
32
+
and to take course 0 you should also have finished course 1.
0 commit comments