| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d16336a commit b30f9f3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,7 +23,7 @@ class GraphUnweightedUndirected { | |||
| 23 | 23 | if (node === value) { return true } | |
| 24 | 24 | // adding the current node to the visited set | |
| 25 | 25 | visited.add(node) | |
| 26 | - // calling the helper function recursivly for all unvisited nodes | ||
| 26 | + // calling the helper function recursively for all unvisited nodes | ||
| 27 | 27 | for (const neighbour of this.connections[node]) { | |
| 28 | 28 | if (!visited.has(neighbour)) { | |
| 29 | 29 | if (this.DFSRecursive(neighbour, value, visited)) { return true } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments