![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
单调队列
文章平均质量分 80
free-dancer
i am growing~!
展开
-
Sliding Window
Problem Description An array of size n ≤ 106 is given to you. There is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the knumbers in原创 2017-08-14 21:08:19 · 245 阅读 · 0 评论 -
Largest Rectangle in a Histogram
Problem Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different heights. For example, the fi原创 2017-08-14 21:17:16 · 198 阅读 · 0 评论 -
Feel Good
Problem Description Bill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or bad days influent people's memories about some p原创 2017-08-14 21:23:25 · 271 阅读 · 0 评论