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_2 = new int [ var_0 . length ] ;
    int var_4 = 0 , var_6 = 1 ;
    for ( int var_7 : var_0 ) {
      if ( var_7 % 2 == 0 ) {
        var_2 [ var_4 ] = var_7 ;
        var_4 += 2 ;
      }
      else {
        var_2 [ var_6 ] = var_7 ;
        var_6 += 2 ;
      }
    }
    return var_2 ;
  }
  