We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f7a82e commit ee384ffCopy full SHA for ee384ff
1 file changed
Dijkstra.java
@@ -24,7 +24,8 @@ int minDistance(int dist[], Boolean que[]) {
24
return index;
25
}
26
27
- void printSolution(int dist[], int n) {
+ void printSolution(int dist[], int n) // It displays Vertex Distance from Source
28
+ {
29
System.out.println("Vertex Distance from Source");
30
31
for (int i = 0; i < V; i++) {
0 commit comments