First, lowering the left side, and then type node itself, and then lowering the right side, what does this operation bypass the tree in order. If you moved printf before the left downs, you think this will make it a preliminary workaround. And if you first made both descents, it will be a post-order. All three possibilities visit all nodes, but in three different orders.
Consider a simple tree
* / \ a + / \ bc
If you pass this tree in preliminary order, you will receive
* a + bc
B-order
a * b + c
After ordering,
abc + *
Which of these features you need depends on what you do.
source share