Stable marriage problem: Difference between revisions
Content deleted Content added
m →{{header|Tcl}}: formatting |
m →{{header|Java}}: lines too long |
||
Line 199:
Marriages are unstable</pre>
=={{header|Java}}==
{{lines too long}}
This is not a direct translation of [[#Python|Python]], but it's fairly close (especially the stability check).
<lang java5>import java.util.Arrays;
|