SLIDE 1
Applied Algorithm Design: Exam Answers
- Prof. Pietro Michiardi
Questions
- 1. When does a bipartite graph have a perfect matching?
Answer: If G = N, E and N = X ∪ Y , where X and Y are disjoint sets of nodes connected by an edge with one end in X and the other end in Y , then you can have a perfect matching if |X| = |Y |
- 2. Explain the salient differences between the Cournot and the Bertrand models of
competition. Answer: In the former, the strategy set is the production quantity, in the latter the strategy set is the items’ price.
- 3. Give an example of a recursive algorithm.
Answer: the typical example is the algorithm to compute the factorial of n. Also algorithms for DFS, Fibonacci series, ... are good answers.
- 4. What is the difference between Prisoners’ Dilemma games and Coordination
Games? Answer: First, specify that we look at 2-player games. In the former, there is a strictly dominated strategy, hence only one equilibirum. In the latter, there are two equilibria that are not symmetric (in the general form). Hence a third-party can guide players toward an equilibrium
- r the other.