Summer Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
14
:
02
:
57
:
09
Back to Dashboard
House Robber
Medium
You are given an integer array nums representing the amount of money in each house along a street. A thief plans to rob houses tonight, but cannot rob two adjacent houses (the alarm system will alert the police if two directly-adjacent houses are broken into on the same night).
Return the maximum amount of money the thief can rob without alerting the police. ...
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.