Ad
  • Default User Avatar

    Nevermind on the second part of my comment. I'm new to Codewars. I see this issue has already been remarked in the discourse section.

  • Default User Avatar

    Are you not excluding the possibility here that when you are paid with a 100 dollar bill, you could give change if you have three 25 dollar bills? So scenario with input { 25, 25, 25, 100 } would fail with this code. I think the acceptance tests are incomplete.

    Possibly more accepted code is may not take this scenario in account. Have not had time to review all code. Somebody should look into this.