AlgoMaster Logo

House Robber

nums=[2, 7, 9, 3, 1]
0 / 9
algomaster.io
Step:Start: rob houses for maximum loot without hitting two adjacent ones