
单调队列
文章平均质量分 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 · 296 阅读 · 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 · 260 阅读 · 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 · 319 阅读 · 0 评论