-. What should the stableMatching function return on the following input:
n=2, menPreferences = [[0,1],[1,0]], womenPreferences = [[0,1],[1,0] ]
This is the case with two men and women, where the man 0 and the woman o like each other, and the man 1 and the
woman 1 like each other.
a) [0, 1]
b) 0,0,1,1
c) [1, 2]
d) [1, 0]
Answers
Answered by
0
Answer:
option . a
Step-by-step explanation:
Hello friend whatsapp
Answered by
0
Question:
What should the stableMatching function return on the following input:n=2, menPreferences = [[0,1],[1,0]], womenPreferences = [[0,1],[1,0] ]This is the case with two men and women, where the man 0 and the woman o like each other, and the man 1 and thewoman 1 like each other.a) [0, 1]b) 0,0,1,1c) [1, 2]d) [1, 0]
Answer:
Option:a)[0,1]
Similar questions