comefrom: <gouthampradhan>two_pointers_RemoveDuplicatesII_1.java
code: public int removeDuplicates(int[] nums) {
      if (nums.length == 0) return 0;
      int j = 0;
      int count = 1;
      for (int i = 1; i < nums.length; i++) {
        if (nums[i - 1] == nums[i]) {
          count++;
        } else {
          count = 1;
        }
        if (count == 1 || count == 2) {
          j++;
          nums[j] = nums[i];
        }
      }
      return j + 1;
    }
masked: public int sample_funcname ( int [ ] var_0 ) {
    if ( var_0 . length == 0 ) return 0 ;
    int var_1 = 0 ;
    int var_2 = 1 ;
    for ( int var_3 = 1 ;
    var_3 < var_0 . length ;
    var_3 ++ ) {
      if ( var_0 [ var_3 - 1 ] == var_0 [ var_3 ] ) {
        var_2 ++ ;
      }
      else {
        var_2 = 1 ;
      }
      if ( var_2 == 1 || var_2 == 2 ) {
        var_1 ++ ;
        var_0 [ var_1 ] = var_0 [ var_3 ] ;
      }
    }
    return var_1 + 1 ;
  }
  