public Node createTree(int inorder[],int preorder[]){
        Node result =  createTree(inorder,preorder,0,inorder.length-1);
        index = 0;
        return result;
    }
http://www.geeksforgeeks.org/construct-tree-from-given-inorder-and-preorder-traversal/
Test cases:
Empty tree
One node tree
All left side tree
All right side tree
Mixed tree
Full tree
complete tree
src/com/interview/tree/ConstructTreeFromInOrderPreOrder.java