Skip to content

Commit 759bbfa

Browse files
authored
added a comment to printsolution
1 parent dc50167 commit 759bbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dijkstra.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ int minDistance(int dist[], Boolean que[])
2626
return index;
2727
}
2828

29-
29+
// printsolution is a function to print distance between vertex and source.
3030
void printSolution(int dist[], int n)
3131
{
3232
System.out.println("Vertex Distance from Source");

0 commit comments

Comments
 (0)