思路1.先遍历压栈,遇到可弹出的先弹出2.遍历完成后,全部弹出3.未能完全弹出,则错误完全弹出,则正确 class Solution { public: bool IsPopOrder(vector<int> pushV,vector<int> popV) { int len = pushV.size(); stack<int> test; if(len==0) return true; int i =0; int j =0; ...