def largestRectangleArea_TLE(self, height):
        """
        O(n*n)
        :param height: a list of int
        :return: int
        """
        if not height:
            return 0

        max_area = -1<<32
        for ind, val in enumerate(height):
            min_h = val
            max_area = max(max_area, val*1)
            for j in xrange(ind, -1, -1):
                min_h = min(min_h, height[j])
                current_area = min_h*(j+1-ind)
                max_area = max(max_area, current_area)

        return max_area
dataset/ETHPy150Open algorhythms/LeetCode/082 Largest Rectangle in Histogram.py/Solution.largestRectangleArea_TLE/swapped operands of `-`