comefrom: <gouthampradhan>array_SortArrayByParityII_1.java
code: public int[] sortArrayByParityII(int[] A) {
      int[] R = new int[A.length];
      int i = 0, j = 1;
      for (int a : A) {
        if (a % 2 == 0) {
          R[i] = a;
          i += 2;
        } else {
          R[j] = a;
          j += 2;
        }
      }
      return R;
    }
masked: public int [ ] sample_funcname ( int [ ] var_0 ) {
    int [ ] var_1 = new int [ var_0 . length ] ;
    int var_2 = 0 , var_3 = 1 ;
    for ( int var_4 : var_0 ) {
      if ( var_4 % 2 == 0 ) {
        var_1 [ var_2 ] = var_4 ;
        var_2 += 2 ;
      }
      else {
        var_1 [ var_3 ] = var_4 ;
        var_3 += 2 ;
      }
    }
    return var_1 ;
  }
  