摘要: 84.柱状图中最大的矩形 class Solution: def largestRectangleArea(self, heights: List[int]) -> int: s = [0] result = 0 heights.insert(0,0) heights.append(0) for i 阅读全文
posted @ 2024-05-31 14:20 MiraMira 阅读(35) 评论(0) 推荐(0)