preorder and postorder to inorder 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