Skip to content

Commit 9cfa90e

Browse files
Fixes#8098
1 parent 854bee4 commit 9cfa90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: graphs/check_bipartite_graph_all.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from queue import Queue
1717

1818

19-
def check_bipartite(graph) -> bool:
19+
def check_bipartite(graph:Dict[int, List[int]]) -> bool:
2020
queue = Queue()
2121
visited = [False] * len(graph)
2222
color = [-1] * len(graph)

0 commit comments

Comments
 (0)