public static int largestRectangleAreaTLE(int[] height) {
		if (height == null || height.length == 0)
			return 0;

		int area = 0;

		for (int i = 0; i < height.length; i++) {
			int high = height[i];
			int width = 1;
			for (int j = i - 1; j >= 0 && height[j] >= high; j--) {
				width++;
			}

			for (int j = i + 1; j < height.length && height[j] >= high; j++) {
				width++;
			}

			area = Math.max(area, high * width);
		}

		return area;
	}