虽然题目没说输入用例都是从小到大输入,但是使popV中出现pushV中没有的值实在是... class Solution { public: //map<int,int> Index;//值映射索引 map<int,bool> Exist; bool IsPopOrder(vector<int> pushV,vector<int> popV) { int len = pushV.size();// //以第一个出栈4为分界线 //已入栈的123遵循 xx3xx2xx1xx //为入栈的5,6,7 ..xx5xx6xx7xx\xx6xx7xx5xx...