add solution for construct BST from pre-in-order