comefrom: <awangdev>518. Coin Change 2_1.java
code: public int change(int amount, int[] coins) {
          if (amount == 0) return 1;
          int[] dp = new int[amount + 1];
          dp[0] = 1; 
          for (int coin : coins) {
              for (int i = coin; i <= amount; i++) {
                  dp[i] += dp[i - coin];
              }
          }
          return dp[amount];
      }
masked: public int sample_funcname ( int var_0 , int [ ] var_1 ) {
    if ( var_0 == 0 ) return 1 ;
    int [ ] var_4 = new int [ var_0 + 1 ] ;
    var_4 [ 0 ] = 1 ;
    for ( int var_5 : var_1 ) {
      for ( int var_6 = var_5 ;
      var_6 <= var_0 ;
      var_6 ++ ) {
        var_4 [ var_6 ] += var_4 [ var_6 - var_5 ] ;
      }
    }
    return var_4 [ var_0 ] ;
  }
  