Tree Traversals
20
30
40
50
60
70
80
There's more than one order to visit every node in a tree. The three classics differ by just one thing: when a node visits itself, relative to its two children.
step 01/28
- target · placed
- on the path
There's more than one order to visit every node in a tree. The three classics differ by just one thing: when a node visits itself, relative to its two children.
step 01/28