ConstrctBinaryTreefromPreorderandInorderTraversal

 root.left = buildTree(pre, preStart+1, preStart+len, in, inStart,
rootIndex-1);
         root.right = buildTree(pre, preStart+len+1, preEnd, in,
rootIndex+1, inEnd);