Mental Model
We want to visit the outer edge nodes of a tree in a specific order: left edge top-down, leaves left to right, and right edge bottom-up.
Analogy: Imagine walking around the outside of a garden shaped like a tree, first along the left fence, then along the flowers at the bottom, and finally along the right fence going back up.
1
/ \
2 3
/ \ \
4 5 6
/ \ \
7 8 9
Left boundary: 1 -> 2 -> 4
Leaves: 4 -> 7 -> 8 -> 9
Right boundary: 3 -> 6 -> 9