construct a tree from preorder and postorder code example
Example: inorder preorder postorder
preorder: parent => left => right
inorder: left => parent => right
postorder: left => right => parent
preorder: parent => left => right
inorder: left => parent => right
postorder: left => right => parent