Question 2: Topological Sort
Which of the following are valid topological sorts of the graph to the right?
- a: A, B, C, D, E, F, G, H
- b: A, B, C, G, F, D, E, H
- c: A, G, B, C, E, H, F, D
- d: A, G, H, B, E, F, C, D
- e: A, B, C, G, E, F, D, H
- f: A, G, H, E, F, D, B, C
- g: A, B, E, G, C, F, G, D
- h: A, G, H, B, E, F, C, D
- i: There is no valid topological sort.
|
|
Part 1: Suppose you are determining the maximum flow through this graph. Tell me
your first augmenting path using each of the following path determination algorithms:
- a: Greedy DFS
- b: Modified Dijkstra
- c: Edmonds-Karp
|
Part 2:
The maximum flow through this graph is 51. You've asked your friend Skippy to tell you
what the minimum cut of this graph is. Below are four potential answers that Skippy
gives you. For each of these answers, tell me whether the answer is correct or not. If
incorrect, tell me why.
- a: 51
- b: CD
- c: AC, BC, GC
- d: ET, EI
|