Write a Python function stableMatching(n, menPreferences, womenPreferences) that gets the number n of women and men, preferences of all women and men, and outputs a stable matching.
The function should return a list of length n, where ith element is the number of woman chosen for the man number i.
Answers
Answered by
1
Answer:
mk
Explanation:
ok how to once in ur life u try to learn what was taught in school
Similar questions