Ad
  • Default User Avatar

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

  • Default User Avatar

    Brilliant! I love how you simply implemented a general algorithm for calculating the change rather than having a specialised case for every situation (paying with 25, 50 or 100 bill) as 99.9% of the solutions do.