parameters: (self, triangle)
return_statement: return triangle[0][0]
docstring: :type triangle: List[List[int]]
          :rtype: int
docstring_summary: :type triangle: List[List[int]]
          :rtype: int
docstring_tokens: : type triangle : List [ List [ int ]] : rtype : int
function: def minimumTotal(self, triangle):
          """
          :type triangle: List[List[int]]
          :rtype: int
          """
          if not triangle:
              return 0
          
          for row in range(len(triangle) - 1, 0, -1):
              for col, _ in enumerate(triangle[row - 1]):
                  triangle[row - 1][col] += min(triangle[row][col] ,triangle[row][col + 1])
          
          return triangle[0][0]
function_tokens: def minimumTotal ( self , triangle ) : if not triangle : return 0 for row in range ( len ( triangle ) - 1 , 0 , - 1 ) : for col , _ in enumerate ( triangle [ row - 1 ] ) : triangle [ row - 1 ] [ col ] += min ( triangle [ row ] [ col ] , triangle [ row ] [ col + 1 ] ) return triangle [ 0 ] [ 0 ]