← All problems
Medium · 1-D Dynamic Programming

House Robber

Maximize house values selected without choosing neighbours.

Full problem and submission ↗
main.js

Console

Ready