Skip to content

Commit a938a23

Browse files
authored
fix: typo in bellmanford description (#711)
1 parent 50ddbdd commit a938a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph/bellmanford.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// The Bellman–Ford algorithm is an algorithm that computes shortest paths from a
2-
// single source vertex to all of the other vertices in a weighted durected graph.
2+
// single source vertex to all of the other vertices in a weighted directed graph.
33
// It is slower than Dijkstra but capable of handling negative edge weights.
44
// https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm
55
// Implementation is based on the book 'Introduction to Algorithms' (CLRS)

0 commit comments

Comments
 (0)