Construct Binary Tree from Preorder and Inorder Traversal

Use DP to improve the efficient