We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5556653 commit 86570f4Copy full SHA for 86570f4
graphs/dijkstra.py
@@ -8,7 +8,6 @@ def dijkstra(n: int, edges: list[list[int]], start: int) -> dict:
8
for src, dst, weight in edges:
9
adj[src].append([dst, weight])
10
11
- print(adj)
12
shortest = {}
13
minheap = [[0, start]]
14
while minheap:
0 commit comments