parameters: (self, A)
return_statement: return max(A + B)
docstring: :type nums: List[int]
          :rtype: int
docstring_summary: :type nums: List[int]
          :rtype: int
docstring_tokens: : type nums : List [ int ] : rtype : int
function: def maxProduct(self, A):
          """
          :type nums: List[int]
          :rtype: int
          """
          B = A[::-1]
          for i in range(1, len(A)):
              A[i] *= A[i - 1] or 1
              B[i] *= B[i - 1] or 1
          return max(A + B)
function_tokens: def maxProduct ( self , A ) : B = A [ : : - 1 ] for i in range ( 1 , len ( A ) ) : A [ i ] *= A [ i - 1 ] or 1 B [ i ] *= B [ i - 1 ] or 1 return max ( A + B )