Implement Build tree from preorder and inorder traversal. Return the expected result as described.
Examples