Skip to content

Commit ab770c3

Browse files
Update graph/edmondkarp.ts
Co-authored-by: Lars Müller <[email protected]>
1 parent 13ba5a3 commit ab770c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

graph/edmondkarp.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/**
2-
* @function edmondkarp
32
* @description Compute the maximum flow from a source node to a sink node. The input graph is in adjacency list form. It is a multidimensional array of edges. graph[i] holds the edges for the i'th node. Each edge is a 2-tuple where the 0'th item is the destination node, and the 1'st item is the edge capacity.
43
* @Complexity_Analysis
54
* Time complexity: O(V * E^2) where V is the number of vertices and E is the number of edges

0 commit comments

Comments
 (0)