Skip to content
Prev Previous commit
Next Next commit
change the function name in annotate
  • Loading branch information
wuyudi authored Jun 25, 2020
commit 14d3412f6865b7b20a3ad83ccade9ca7c866f436
2 changes: 1 addition & 1 deletion graphs/bfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

def breadth_first_search(graph: Dict, start: str) -> Set[str]:
"""
>>> ''.join(sorted(bfs(G, 'A')))
>>> ''.join(sorted(breadth_first_search(G, 'A')))
'ABCDEF'
"""
explored = {start}
Expand Down