8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb46ef1 commit 91544dcCopy full SHA for 91544dc
src/main/java/com/fishercoder/solutions/_207.java
@@ -11,7 +11,9 @@
11
public class _207 {
12
13
public static class Solution1 {
14
- /**Kahn's algorithm for topological sorting*/
+ /**
15
+ * Kahn's algorithm for topological sorting
16
+ */
17
public boolean canFinish(int numCourses, int[][] prerequisites) {
18
int[] indegree = new int[numCourses];
19
for (int[] prereq : prerequisites) {
0 commit comments