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: Graphs/KahnsAlgorithm.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ import Queue from '../Data-Structures/Queue/Queue'
2
2
3
3
/**
4
4
* Author: Abhay Goel
5
-
* Implementing Kahns Algortihm for a Directed Graph
5
+
* Implementing Kahns Algorithm for a Directed Graph
6
6
* This algorithm uses the in-degree count of a node to process
7
7
* It can be used to find Topological ordering , Cycle in a DAG.
8
8
* Tutorial on Lowest Common Ancestor: [https://www.geeksforgeeks.org/cpp/kahns-algorithm-in-cpp/](https://www.geeksforgeeks.org/cpp/kahns-algorithm-in-cpp/)
0 commit comments