preorder inorder 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