Stable marriage problem: Difference between revisions
Content added Content deleted
(Small grammar fix, categorized) |
(→{{header|Python}}: Remove more debugging/setup code) |
||
Line 197: | Line 197: | ||
Marriages are unstable</pre> |
Marriages are unstable</pre> |
||
=={{header|Python}}== |
=={{header|Python}}== |
||
<lang python>import |
<lang python>import copy |
||
from collections import defaultdict |
from collections import defaultdict |
||