Skip to content

Commit d2d9044

Browse files
authoredOct 11, 2020
Merge pull request #4 from psnehas/patch-1
Update top_sort.md
2 parents ce1fa47 + bae5cc8 commit d2d9044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎graphs/top_sort.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def top_sort(graph):
2323
return list(sorted_nodes)
2424

2525

26-
def dfs(graph, start_node, visited, sorted\_nodes):
26+
def dfs(graph, start_node, visited, sorted_nodes):
2727
visited.add(start_node)
2828
if start_node in graph:
2929
neighbors = graph[start_node]

0 commit comments

Comments
 (0)