![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
单调栈及单调队列
qdu_ellery
我有梦想啊!
展开
-
H - Sliding Window POJ - 2823 (单调队列)
A piece of paper contains an array of n integers a1, a2, …, an. Your task is to find a number that occurs the maximum number of times in this array. However, before looking for such number, you are al...原创 2019-07-01 13:16:40 · 141 阅读 · 0 评论 -
Feel Good(单调栈)(一点也不good!)
学了一周,快哭了; 参考博客:https://blog.csdn.net/zuzhiang/article/details/78136480; 我的代码: #include<iostream> #include<stack> #include<algorithm> #include<math.h> using namespace std; typed...原创 2019-04-09 19:29:58 · 319 阅读 · 0 评论