跳过正文
  1. 面试题库/

10|单调栈

·122 字·1 分钟
目录
算法面试题库 - 这篇文章属于一个选集。
§ 10: 本文

1. 每日温度
#

难度: 🟡 中等

算法链接: https://leetcode.cn/problems/daily-temperatures/

题解: https://programmercarl.com/0739.%E6%AF%8F%E6%97%A5%E6%B8%A9%E5%BA%A6.html

2. 下一个更大元素 I
#

难度: 🟢 简单

算法链接: https://leetcode.cn/problems/next-greater-element-i/

题解: https://programmercarl.com/0496.%E4%B8%8B%E4%B8%80%E4%B8%AA%E6%9B%B4%E5%A4%A7%E5%85%83%E7%B4%A0I.html

3. 下一个更大元素 II
#

难度: 🟡 中等

算法链接: https://leetcode.cn/problems/next-greater-element-ii/

题解: https://programmercarl.com/0503.%E4%B8%8B%E4%B8%80%E4%B8%AA%E6%9B%B4%E5%A4%A7%E5%85%83%E7%B4%A0II.html

4. 接雨水
#

难度: 🔴 困难

算法链接: https://leetcode.cn/problems/trapping-rain-water/

题解: https://programmercarl.com/0042.%E6%8E%A5%E9%9B%A8%E6%B0%B4.html

5. 柱状图中最大的矩形
#

难度: 🔴 困难

算法链接: https://leetcode.cn/problems/largest-rectangle-in-histogram/

题解: https://programmercarl.com/0084.%E6%9F%B1%E7%8A%B6%E5%9B%BE%E4%B8%AD%E6%9C%80%E5%A4%A7%E7%9A%84%E7%9F%A9%E5%BD%A2.html

算法面试题库 - 这篇文章属于一个选集。
§ 10: 本文