LeetCode#11 Python解

我依旧是用两重循环,暴力求解… 结果有5个测试点通不过,超出时间限制了python class Solution: def maxArea(self, height: List[int]) -> int: n = len(height) s = min(height[0],height[1]) for i in range
相关文章
相关标签/搜索