Skip to content

Commit

Permalink
fix: typo in bellmanford description (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
jafar75 authored Mar 20, 2024
1 parent 50ddbdd commit a938a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph/bellmanford.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// The Bellman–Ford algorithm is an algorithm that computes shortest paths from a
// single source vertex to all of the other vertices in a weighted durected graph.
// single source vertex to all of the other vertices in a weighted directed graph.
// It is slower than Dijkstra but capable of handling negative edge weights.
// https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm
// Implementation is based on the book 'Introduction to Algorithms' (CLRS)
Expand Down

0 comments on commit a938a23

Please sign in to comment.