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
相關文章
相關標籤/搜索