Pregunta de entrevista de Demandbase

House Robber Leetcode problem , one DFS graph question