Category
Level
DP on trees is a technique that computes answers for each node by combining results from its children using a post-order DFS.