import java.util.ArrayList; import java.util.*; public class Solution { public boolean IsPopOrder(int [] pushA,int [] popA) { int len = pushA.length; int j=0; Stack stack = new Stack<Integer>(); for(int i=0;i<len;i++){ stack.push(pushA[i]); ...