Skip to content

Commit e3539fc

Browse files
added Dijkstra algorithm and link of wikipedia
1 parent f725b0f commit e3539fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/thealgorithms/graph/DijkstraShortestPath.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ public int[] shortestPath(int n, Map<Integer, List<int[]>> adjList, int startNod
4343
return distances;
4444
}
4545
}
46+
47+
//https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm#:~:text=Dijkstra's%20algorithm%20(/%CB%88da%C9%AA,and%20published%20three%20years%20later.

0 commit comments

Comments
 (0)