Beta

Implement "The Match" to assign med school graduates to hospitals

Description
Loading description...
Algorithms
  • Please sign in or sign up to leave a comment.
  • Voile Avatar

    Input object is vulnerable to input modification. Emptying them passes the tests.

  • rjmk Avatar

    Getting this result:

    Expected: {"Mercy":["Chen"],"City":["Anderson","Eastman"],"General":["Davis","Ford"]}, instead got: {"Mercy":["Chen"],"City":["Anderson","Eastman"],"General":["Davis","Ford"]}

    A problem with strings?

    • SteveRuble Avatar

      Sorry about that. I've updated the example test to use Test.assertSimilar rather than Test.assertEquals. The submission test uses a more sophisticated algorithm to check the results, rather than just comparing your result to another object.

      Issue marked resolved by SteveRuble 10 years ago