<doocs>0628.Maximum Product of Three Numbers_1.py
def maximumProduct( nums: List[int]) -> int:
    n = len(nums)
    nums.sort()
    return max(
        nums[0] * nums[1] * nums[n - 1], nums[n - 1] * nums[n - 2] * nums[n - 3]
    )
def sample_funcname ( var_0 : List [ int ] ) -> int :
    var_4 = len ( var_0 )
    var_0.sort ( )
    return max ( var_0 [ 0 ] * var_0 [ 1 ] * var_0 [ var_4 - 1 ] , var_0 [ var_4 - 1 ] * var_0 [ var_4 - 2 ] * var_0 [ var_4 - 3 ] )
