Akamai interview question

House robber problem - Dynamic programming