摘要: 解析:使用 单调栈 + 哨兵的思想 解决,具体思路可参考 liweiwei 题解:https://leetcode-cn.com/problems/largest-rectangle-in-histogram/solution/bao-li-jie-fa-zhan-by-liweiwei1419/ 阅读全文
posted @ 2021-04-20 21:45 谁在写西加加 阅读(50) 评论(0) 推荐(0) 编辑