<doocs>0011.Container With Most Water_1.py
def maxArea( height: List[int]) -> int:
    i, j = 0, len(height) - 1
    res = 0
    while i < j:
        t = (j - i) * min(height[i], height[j])
        res = max(res, t)
        if height[i] < height[j]:
            i += 1
        else:
            j -= 1
    return res
def sample_funcname ( var_0 : List [ int ] ) -> int :
    var_4 , var_7 = 0 , len ( var_0 ) - 1
    var_8 = 0
    while var_4 < var_7 :
        var_10 = ( var_7 - var_4 ) * min ( var_0 [ var_4 ] , var_0 [ var_7 ] )
        var_8 = max ( var_8 , var_10 )
        if var_0 [ var_4 ] < var_0 [ var_7 ] :
            var_4 += 1
        else :
            var_7 -= 1
    return var_8
