Get your own website Result Size: 625 x 533
Python
C
Java
 
Python result:
Dijkstra's Algorithm starting from vertex D:

Shortest distance from D to A: 4
Shortest distance from D to B: inf
Shortest distance from D to C: 6
Shortest distance from D to D: 0
Shortest distance from D to E: 2
Shortest distance from D to F: 11
Shortest distance from D to G: 7