We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21fd1e5 commit 301a9bbCopy full SHA for 301a9bb
Data Structures/Graphs/Bellman Ford.c
@@ -1,5 +1,6 @@
1
#include <stdio.h>
2
#include <stdlib.h>
3
+/* O(VE)**/
4
int Bellman_Ford(int G[20][20] , int V, int E, int edge[20][2])
5
{
6
int i,u,v,k,distance[20],parent[20],S,flag=1;
0 commit comments