摘要: https://leetcode.cn/problems/container-with-most-water/ 双指针 思路: 容器容积 = (right - left) * min{height[left],height[right]} 初始时,left = 0,right = len - 1 此 阅读全文
posted @ 2022-08-25 10:27 Kyara 阅读(5) 评论(0) 推荐(0) 编辑