Construct Binary Tree from Inorder and Postorder Traversal: simplify logic