Acuity Inc. interview question

Reconstruct binary tree from in-order and pre-order traversals.