<qiyuangong>011_Container_With_Most_Water_1.java
public int maxArea(int[] height) {

    int maxArea = 0;
    int left = 0;
    int right = height.length - 1;

    while (left < right) {
      maxArea = Math.max(maxArea, (right - left) * Math.min(height[left], height[right]));
      if (height[left] < height[right]) left++;
      else right--;
    }
    return maxArea;
  }
public int sample_funcname ( int [ ] var_0 ) {
  int var_2 = 0 ;
  int var_3 = 0 ;
  int var_6 = var_0 . length - 1 ;
  while ( var_3 < var_6 ) {
    var_2 = Math . max ( var_2 , ( var_6 - var_3 ) * Math . min ( var_0 [ var_3 ] , var_0 [ var_6 ] ) ) ;
    if ( var_0 [ var_3 ] < var_0 [ var_6 ] ) var_3 ++ ;
    else var_6 -- ;
  }
  return var_2 ;
}
