The Coin Change Problem

  • + 1 comment

    I wonder if the official answers are correct. For the run case getWays(4, [1,2,3]), my answer is 2 ({2, 2} and {1, 3}), but the official answer is 4. For the run case getWays(10, [2,5,3,6]), my answer is 12 but the official answer is 5.