From 2f2ec69364994ca3d72b8436b6f985d16c11dcba Mon Sep 17 00:00:00 2001 From: Balanagireddy M Date: Mon, 26 Jun 2023 21:44:33 -0700 Subject: [PATCH] Minor comments --- solutions/system_design/social_graph/social_graph_snippets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/solutions/system_design/social_graph/social_graph_snippets.py b/solutions/system_design/social_graph/social_graph_snippets.py index f0ea4c4b..d348a4d7 100644 --- a/solutions/system_design/social_graph/social_graph_snippets.py +++ b/solutions/system_design/social_graph/social_graph_snippets.py @@ -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()