class Solution(object): def maxArea(self, height): """ :type height: List[int] :rtype: int """ length=len(height) left=0 right=length-1 tmp=0 res=0 i=0 j=length-1 while i
本文共 311 字,大约阅读时间需要 1 分钟。
class Solution(object): def maxArea(self, height): """ :type height: List[int] :rtype: int """ length=len(height) left=0 right=length-1 tmp=0 res=0 i=0 j=length-1 while i
转载于:https://www.cnblogs.com/xlqtlhx/p/8228288.html