previous | index | next

Postorder Traversal

  1. Visit all the nodes in the left subtree in postorder

  2. Visit all the nodes in the right subtree in postorder

  3. Visit the root

Q: What does a postorder traversal return?

A: (1 3 2 5 7 6 4)


previous | index | next