Where F is the maximum flow value, n is the number of vertices, and m is the number of edges
The problem with this algorithm, however, is that it is strongly dependent on the maximum flow value F. For example, if F=2n the algorithm may take exponential time.
Then, along came Edmonds & Karp