Put the steps of the cycle-cancelling algorithm into correct order.
Cycle-cancelling algorithm
Putting into order
Report a typo
Put the items in the correct order
Create a graph G by assigning a cost to each edge, which residual capacity is positive
Find any maximum flow in a network
Get rid of all negative cycles
Find a negative cycle in a graph G
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.