LeetCode
House Robber III
Click
here
for an explanation.