Skip to content

Commit fdb57e8

Browse files
authored
Update BellmanFord.c
1 parent f3cba8c commit fdb57e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Data Structures/Graphs/Bellman Ford.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
/*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 digraph. Bellman Ford's Algorithm comes into the picture when there is a negative weight edge. It also detects any negative weight cycle if present.**/
13
#include <stdio.h>
24
#include <stdlib.h>
35
/*Time Complexity:- O(VE)**/

0 commit comments

Comments
 (0)