Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I'm stuck on the same problem. The test expectation wants to give a change total of 30, but your result is giving back 40 in change.
    Your issue might be that the state of the coins object goes wrong at some point, but that really depends on how it's implemented...

    A coin is considered invalid if the denomination (the key in the object) is not also a key in the coins object when you first instantiate the object.

  • Custom User Avatar

    Try to avoid the error