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