import java.util.*; /** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; } * } */ public class Solution { public TreeNode reConstructBinaryTree(int [] pre,int [] vin) { //递归重建 //先序遍历的第一个,肯定是根节点, //现需遍历的第二个,肯定是左节点的第一个根节点...