inorder traversal to postorder traversal 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