comefrom: <doocs>2016.Maximum Difference Between Increasing Elements_1.py
code: def maximumDifference( nums: List[int]) -> int:
      mi = nums[0]
      ans, n = -1, len(nums)
      for i in range(1, n):
          if nums[i] > mi:
              ans = max(ans, nums[i] - mi)
          else:
              mi = nums[i]
      return ans
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_4 = var_0 [ 0 ]
      var_6 , var_8 = - 1 , len ( var_0 )
      for var_10 in range ( 1 , var_8 ) :
          if var_0 [ var_10 ] > var_4 :
              var_6 = max ( var_6 , var_0 [ var_10 ] - var_4 )
          else :
              var_4 = var_0 [ var_10 ]
      return var_6
  