My solution returns INT_MIN for only one point and it is accepted but answer should be zero.

So that test case may be added in addition.

```
class Solution {
public:
int maxArea(vector<int>& height) {
if(height.size()==0)return 0;
int left=0,right=height.size()-1,mm=numeric_limits<int>::min();
while(left!=right){
mm = max(mm,(right-left)*min(height[left],height[right]));
if(height[left]<height[right])left++;
else right--;
}
return mm;
}
};
```