Mental Model
Find the highest sum of values along any path in a tree, where a path can start and end at any node.
Analogy: Imagine climbing a mountain range where each peak has a height. You want to find the highest total height you can get by walking along connected peaks, but you can start and stop anywhere.
1
/ \
2 3
/ \
4 5