Mental Model
Find the highest sum you can get by traveling along connected nodes in a tree, where the path can start and end anywhere.
Analogy: Imagine climbing a mountain trail that can go up and down, and you want to find the highest total elevation gain on any path you choose, not necessarily from base to peak.
[10]
/ \
[2] [10]
/ \ \
[20] [1] [-25]
/ \
[3] [4]