1.

What is the running time of implementing a min-cut algorithm using bidirected edges in a graph?(a) O(N)(b) O(N log N)(c) O(N^4)(d) O(N^2)The question was posed to me in an internship interview.Asked question is from Minimum Cut in section Minimum Cut of Data Structures & Algorithms II

Answer»

The correct OPTION is (c) O(N^4)

Best EXPLANATION: The running time of a min-cut algorithm USING Ford-Fulkerson method of making EDGES birected in a graph is MATHEMATICALLY found to be O(N^4).



Discussion

No Comment Found

Related InterviewSolutions