Mental Model
We want to visit all the nodes on the edges of a tree in a specific order: left edge, leaves, then right edge.
Analogy: Imagine walking around the outside of a garden shaped like a tree, touching all the plants on the boundary without going inside.
1
/ \
2 3
/ \ \
4 5 6
/ \ \
7 8 9
Boundary nodes are: 1 -> 2 -> 4 -> 7 -> 8 -> 9 -> 6 -> 3 -> null