comefrom: <qiyuangong>922_Sort_Array_By_Parity_II_1.java
code: public int[] sortArrayByParityII(int[] A) {
          int N = A.length;
          int[] ans = new int[N];
          int t = 0;
          for (int x: A) if (x % 2 == 0) {
              ans[t] = x;
              t += 2;
          }
          t = 1;
          for (int x: A) if (x % 2 == 1) {
              ans[t] = x;
              t += 2;
          }
          return ans;
      }
masked: public int [ ] sample_funcname ( int [ ] var_0 ) {
    int var_1 = var_0 . length ;
    int [ ] var_2 = new int [ var_1 ] ;
    int var_3 = 0 ;
    for ( int var_4 : var_0 ) if ( var_4 % 2 == 0 ) {
      var_2 [ var_3 ] = var_4 ;
      var_3 += 2 ;
    }
    var_3 = 1 ;
    for ( int var_4 : var_0 ) if ( var_4 % 2 == 1 ) {
      var_2 [ var_3 ] = var_4 ;
      var_3 += 2 ;
    }
    return var_2 ;
  }
  