Skip to content

Commit c18c55e

Browse files
description changes
Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent e196934 commit c18c55e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphs/gale_shapley_bigraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def stable_matching(n: int, donor_pref: list, recipient_pref: list) -> list:
33
Finds the stable match in any bipartite graph, i.e a pairing where no 2
44
objects prefer each other over their partner.
55
The function accepts the preferences of the donors and recipients (where
6-
both arecnamed from 0 to n-1) and returns a list where the index position
6+
both are assigned numbers from 0 to n-1) and returns a list where the index position
77
corresponds to the donor and value at the index is the recipient (of the organ).
88
E.g:
99
n = 4

0 commit comments

Comments
 (0)