Tree: Depth-First Search - House Robber III (On Tree)
Given the following memo dictionary after running a memoized House Robber III on a tree, which node value is most likely the root?
memo = {
id(nodeA): 7,
id(nodeB): 3,
id(nodeC): 4,
id(nodeD): 0
}
Where nodeB and nodeC are children of nodeA, and nodeD is a leaf child of nodeB.
