Skip to content

Commit 301a9bb

Browse files
authored
Update Bellman Ford.c
1 parent 21fd1e5 commit 301a9bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Data Structures/Graphs/Bellman Ford.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <stdio.h>
22
#include <stdlib.h>
3+
/* O(VE)**/
34
int Bellman_Ford(int G[20][20] , int V, int E, int edge[20][2])
45
{
56
int i,u,v,k,distance[20],parent[20],S,flag=1;

0 commit comments

Comments
 (0)