Oracle Interview Question

House Robber Leetcode problem, dynamic programming