Cisco Interview Question

Leetcode house robber, easy dynamic programming