LeetCode
Construct Binary Tree from Preorder and Inorder Traversal
Click
here
for an explanation.