思路:1、第一个元素入栈2、一致则出栈3、不一致则继续入栈 import java.util.Stack; public class Solution { public boolean IsPopOrder(int [] pushA,int [] popA) { if(pushA==null&&popA==null) return true; Stack<Integer> stack = new Stack<>(); int i=0; int j=0; while(i...