Minor comments

pull/788/head
Balanagireddy M 2023-06-26 21:44:33 -07:00
parent a07e261677
commit 2f2ec69364
1 changed files with 1 additions and 0 deletions

View File

@ -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()