Tut 10 Solution
Tut 10 Solution
General Instructions: Argue logically. Write it in a manner that explains your logic very
clearly. Do not miss steps in between.
Q1.Decide whether the following statement is true or false. If you think it is true then argue why it is so
and if it is false then give a counterexample and explain the example.
Q2 Given a directed graph with one single source vertex s and one single sink vertex t. Describe an
algorithm that finds the maximum number of edge-disjoint paths from s to t. Prove the correctness of
your algorithm.
Q3 [Compre 2022-23] We would like an efficient algorithm for the following task:
Input: A directed graph G = (V, E), where each edge has capacity 1; vertices s, t ∈ V , where s is the
source and t is the sink; a number k ∈ N.
Goal: Find k edges that, when deleted, reduce the maximum s-t flow in the graph by as much as possible.
Consider the following approach:
1. How could we define the sets S and T in steps 3–4, to get an efficient algorithm for this problem?
2. Is there an algorithm to implement step 1 in O(|V ||E|) time or less? If yes, what algorithm should
we use? If no, why not? Either way, justify your answer.