# -*- coding:utf-8 -*- class Solution: def IsPopOrder(self, pushV, popV): # write code here queue=[] i,j=0,0 while i<len(pushV): if pushV[i]!=popV[j]: queue.append(pushV[i]) i+=1 else : i+=...