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:
Lê Nam Khánh
2025-11-05 17:44:45 +07:00
committed by GitHub
parent 19f0f0bd83
commit dd01b35d97

View File

@@ -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 + " ");