QUIZ: CF_W24
◀ BACK WEEK 24
5 QUESTIONS
Q1 1 / 5 medium
Tree DP — Subtree Aggregation

Given a tree of n nodes with values, for each node compute the sum of values in its subtree.

What is the key technique required?