This time we have more exchanges to fill, and more pairs to allocate. You might need to try different options, and maybe change some pairs you’ve placed, to find a solution.
© 2020 William Pettersson. See the source at Gitlab.
Developed as part of the IP-Match project, funded by Engineering and Physical Sciences Research Council grants EP/P028306/1 and EP/P029825/1.
Congratulations, you assigned all pairs. You can either attempt the next level, which is much harder, or read about how kidney exchange programmes solve these problems in the real world.