【单调栈】3113. 边界元素是最大值的子数组数目https://blog.csdn.net/he_zhidan/article/details/137974823?spm=1001.2014.3001.5501