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, then right edge bottom-up.
Analogy: Imagine walking around the edge of a garden: first along the left fence from top to bottom, then along the flowers at the bottom, and finally up the right fence back to the start.
1
/ \
2 3
/ \ \
4 5 6
/ \ \
7 8 9
Boundary order: 1 -> 2 -> 4 -> 7 -> 8 -> 9 -> 6 -> 3 -> null