comefrom: <awangdev>152. Maximum Product Subarray_4.java
code: int maxProduct(int nums[]) {
          int max = nums[0];
  
          for (int i = 1, imax = max, imin = max; i < nums.length; i++) {
              if (nums[i] < 0) {
                  int temp = imax;
                  imax = imin;
                  imin = temp;
              }
  
              imax = Math.max(nums[i], imax * nums[i]);
              imin = Math.min(nums[i], imin * nums[i]);
  
              max = Math.max(max, imax);
          }
          return max;
      }
masked: int sample_funcname ( int var_0 [ ] ) {
    int max = var_0 [ 0 ] ;
    for ( int var_1 = 1 , var_2 = max , var_3 = max ;
    var_1 < var_0 . length ;
    var_1 ++ ) {
      if ( var_0 [ var_1 ] < 0 ) {
        int var_4 = var_2 ;
        var_2 = var_3 ;
        var_3 = var_4 ;
      }
      var_2 = Math . max ( var_0 [ var_1 ] , var_2 * var_0 [ var_1 ] ) ;
      var_3 = Math . min ( var_0 [ var_1 ] , var_3 * var_0 [ var_1 ] ) ;
      max = Math . max ( max , var_2 ) ;
    }
    return max ;
  }
  