摘要:
vector<int> Intersection(vector<int>& Vector1, vector<int>& Vector2) { sort(Vector1.begin(), Vector1.end()); sort(Vector2.begin(), Vector2.end()); int 阅读全文
posted @ 2016-07-12 23:19
_in_the_way
阅读(217)
评论(0)
推荐(0)
摘要:
思想分析: 实现方案: class MinStack { public: MinStack() {} void push(int x) { if (StackNum.empty()) { StackNum.push(x); StackMin.push(x); } else { if (x <= St 阅读全文
posted @ 2016-07-12 22:09
_in_the_way
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号