<gouthampradhan>array_AddToArrayFormOfInteger_1.java
public List<Integer> addToArrayForm(int[] A, int K) {
    StringBuilder sb = new StringBuilder();
    for (int a : A) {
      sb.append(a);
    }
    BigInteger big = new BigInteger(sb.toString());
    BigInteger result = big.add(BigInteger.valueOf(K));
    String resultStr = result.toString();
    List<Integer> list = new ArrayList<>();
    for (char a : resultStr.toCharArray()) {
      list.add(Integer.parseInt(String.valueOf(a)));
    }
    return list;
  }
public List < Integer > var_1 ( int [ ] var_2 , int var_3 ) {
  StringBuilder var_5 = new StringBuilder ( ) ;
  for ( int var_6 : var_2 ) {
    var_5 . append ( var_6 ) ;
  }
  BigInteger var_10 = new BigInteger ( var_5 . toString ( ) ) ;
  BigInteger var_13 = var_10 . add ( BigInteger . valueOf ( var_3 ) ) ;
  String var_15 = var_13 . toString ( ) ;
  List < Integer > var_18 = new ArrayList < > ( ) ;
  for ( char var_6 : var_15 . toCharArray ( ) ) {
    var_18 . add ( Integer . parseInt ( String . valueOf ( var_6 ) ) ) ;
  }
  return var_18 ;
}
