import java.util.*; public class Solution { public int[] solve (int[] preOrder, int[] inOrder) { // write code here ArrayList<Integer> ret = new ArrayList<>(); TreeNode root =build(preOrder,inOrder); TreeNode cur = root; //层序遍历。得...