Microsoft interview question

Generate BST from Pre order and Postorder traversal.