Skip to content

Commit 86570f4

Browse files
committed
remove print adj list
1 parent 5556653 commit 86570f4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

graphs/dijkstra.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ def dijkstra(n: int, edges: list[list[int]], start: int) -> dict:
88
for src, dst, weight in edges:
99
adj[src].append([dst, weight])
1010

11-
print(adj)
1211
shortest = {}
1312
minheap = [[0, start]]
1413
while minheap:

0 commit comments

Comments
 (0)