File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ def _input(message):
88def initialize_unweighted_directed_graph (
99 node_count : int , edge_count : int
1010) -> dict [int , list [int ]]:
11-
1211 graph : dict [int , list [int ]] = {}
1312 for i in range (node_count ):
1413 graph [i + 1 ] = []
@@ -22,7 +21,6 @@ def initialize_unweighted_directed_graph(
2221def initialize_unweighted_undirected_graph (
2322 node_count : int , edge_count : int
2423) -> dict [int , list [int ]]:
25-
2624 graph : dict [int , list [int ]] = {}
2725 for i in range (node_count ):
2826 graph [i + 1 ] = []
@@ -37,7 +35,6 @@ def initialize_unweighted_undirected_graph(
3735def initialize_weighted_undirected_graph (
3836 node_count : int , edge_count : int
3937) -> dict [int , list [tuple [int , int ]]]:
40-
4138 graph : dict [int , list [tuple [int , int ]]] = {}
4239 for i in range (node_count ):
4340 graph [i + 1 ] = []
You can’t perform that action at this time.
0 commit comments