摘要:
class Solution { public: int largestRectangleArea(vector<int>& heights) { if(heights.size()==0) return 0; stack<int>st; int res=-1; int len=heights.si 阅读全文
posted @ 2020-08-16 22:31
肉松松松松
阅读(115)
评论(0)
推荐(0)
摘要:
class Solution { public: vector<int> maxSlidingWindow(vector<int>& nums, int k) { if(nums.size()==0) return {}; deque<int>deqmax; vector<int>res; //首先 阅读全文
posted @ 2020-08-16 12:07
肉松松松松
阅读(70)
评论(0)
推荐(0)

浙公网安备 33010602011771号