Question - What is the working of post-order traversal in trees?
Answer -
Postorder traversal works in the following way:
- First, the left subtree is traversed through.
- The right subtree is traversed next.
- The root node is visited after the right subtree visit.