Computer Science, asked by Ansh2970, 8 months ago

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 aibelsebastian
1

Answer:

mk

Explanation:

ok how to once in ur life u try to learn what was taught in school

Similar questions