mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
chore: fix typos in src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java (#7025)
Fix typos in src/main/java/com/thealgorithms/datastructures/graphs/BellmanFord.java Co-authored-by: a <19151554+alxkm@users.noreply.github.com>
This commit is contained in:
@@ -160,7 +160,7 @@ class BellmanFord /*
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (neg == 0) { // Go ahead and show results of computaion
|
||||
if (neg == 0) { // Go ahead and show results of computation
|
||||
System.out.println("Distance is: " + dist[end]);
|
||||
System.out.println("Path followed:");
|
||||
System.out.print(source + " ");
|
||||
|
||||
Reference in New Issue
Block a user