Skip to content

Commit da7c95e

Browse files
poyeacclauss
andauthored
dfs -> depth_first_search
Co-Authored-By: Christian Clauss <cclauss@me.com>
1 parent e185f4f commit da7c95e

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
@@ -15,7 +15,7 @@
1515
from typing import Set, Dict
1616

1717

18-
def dfs(graph: Dict, start: str) -> Set[int]:
18+
def depth_first_search(graph: Dict, start: str) -> Set[int]:
1919
"""Depth First Search on Graph
2020
2121
:param graph: directed graph in dictionary format

0 commit comments

Comments
 (0)