1.

The first step in the naïve greedy algorithm is?(a) analysing the zero flow(b) calculating the maximum flow using trial and error(c) adding flows with higher values(d) reversing flow if requiredThe question was asked during an online exam.I need to ask this question from Flow Networks in division Flow Networks of Data Structures & Algorithms II

Answer»

The CORRECT answer is (a) ANALYSING the zero FLOW

Easy explanation - The first step in the naïve greedy ALGORITHM is to start with the zero flow followed by adding edges with higher values.



Discussion

No Comment Found

Related InterviewSolutions