- reConstructBinaryTree的使用
- 使用起来有点像python的索引截取
import java.util.Arrays;
public class Solution {
public TreeNode reConstructBinaryTree(int [] pre,int [] vin) {
if(pre.length==0)
{
return null;
}
//索引查找
int i=0;
for(i=0;i


