LeetCode11:盛最多水的容器

LeetCode11:盛最多水的容器_第1张图片

class Solution {
    public int maxArea(int[] height) {
        int i = 0;
        int j = height.length-1;
        int ans = 0;
        while(i

 

你可能感兴趣的:(LeetCode)