Recursion's best friend. DFS, BFS, and traversal order define most tree problems.
A tree is a hierarchical structure where each node has at most a fixed number of children (two, for binary trees). Almost every tree problem reduces to a traversal — decide what order you visit nodes in, and what you do at each one.
Blind 75 (11):
More from Blind 150 (4):