Tree: Depth-First Search - House Robber III (On Tree)
Consider two approaches to solve House Robber III: (1) Memoization top-down DP storing max sums per node, and (2) Optimal DFS with two-value return (rob/not_rob). When is memoization preferable over the two-value return approach?
