Question: Problem 3. (3 pts) Fix a graph G and two of its nodes u and v. Given two paths from u to v, denoted Pi

Problem 3. (3 pts) Fix a graph G and two of its nodes u and v. Given two paths from u to v, denoted Pi and P2, we say the two paths are edge-disjoint if they share no edge, and we say the two paths are verter-disjoint if the only vertices they share are u and v. (i) (1 pts) Give a poly-time algorithm that takes as input a graph G and two nodes u and v in this graph, and returns a maximum number of edge-disjoint paths nodes u and v. (ii) (2 pts) Give a poly-time algorithm that takes as input a graph G and two nodes u and v in this graph, and returns a maximum number of vertex-disjoint paths between u and v
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
