摘要: 链接:https://leetcode-cn.com/problems/zhan-de-ya-ru-dan-chu-xu-lie-lcof/ 代码: class Solution { public: bool validateStackSequences(vector<int>& pushed, v 阅读全文
posted @ 2020-02-27 14:23 景云ⁿ 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/bao-han-minhan-shu-de-zhan-lcof/ 代码: class MinStack { public: /** initialize your data structure here. */ stack<in 阅读全文
posted @ 2020-02-27 14:08 景云ⁿ 阅读(80) 评论(0) 推荐(0) 编辑