โ† Amazon questions

House Robber with path printing

Filed under Amazon

Given a row of houses with money amounts, find the maximum money a thief can steal without robbing two adjacent houses, and also print the specific houses that were robbed.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.