Tree: Depth-First Search - House Robber III (On Tree)
The following code attempts to solve the House Robber III problem. Identify the line containing the subtle bug that causes incorrect results on some inputs.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions