Skip to content

Commit 07c21ee

Browse files
authored
dfs -> depth_first_search
1 parent da7c95e commit 07c21ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphs/dfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ def depth_first_search(graph: Dict, start: str) -> Set[int]:
4343
}
4444

4545
if __name__ == "__main__":
46-
print(dfs(G, "A"))
46+
print(depth_first_search(G, "A"))

0 commit comments

Comments
 (0)