mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-09-18 18:10:39 +03:00
Minor comments
This commit is contained in:
@@ -11,6 +11,7 @@ class State(Enum):
|
||||
class Graph(object):
|
||||
|
||||
def bfs(self, source, dest):
|
||||
""" Return True if there is a path from source to dest."""
|
||||
if source is None:
|
||||
return False
|
||||
queue = deque()
|
||||
|
Reference in New Issue
Block a user