Given the same 3 men and 3 women as exercise 1. Which of the following misrepresentation can make Grace obtain better partner for herself in the returned matching?
A. Grace lies "I prefer David to Jack"
B. Grace lies "I prefer Jack to Bob"
C. Grace lies "I prefer David to Bob"
查看答案
Gale-Shapley algorithm finds______.
A. a perfect matching without stability
B. possible different assignments among all executions
C. the man-optimal assignment which is a stable matching
Given the same 3 men and 3 women as exercise 1. Which one is the result of Gale-Shapley algorithm?
A. Bob-Grace, Jack-Anna, David-Alice
Bob-Alice, Jack-Grace, David-Anna
C. Bob-Anna, Jack-Grace, David-Alice
There is a directed graph $G = (V;E)$ with $n$ nodes and $m$ edges. Can one determine if $G$ is strongly connected in $O(m + n)$ time?
A. Yes
B. No
C. Depending on $V$ and $E$
A graph G is bipartite iff _____.
A. it contains no even length cycle
B. it contains no odd length cycle
C. it contains no cycle