Construct Binary Tree from Preorder and Inorder Traversal

568ms
620ms
Construct Binary Tree from Inorder and Postorder Traversal

480ms
956ms