Technical
Given n houses in a line with money in each, find the maximum amount a robber can steal, without stealing from two adjacent houses.
Top community answer
No community answers yet.
Contribute an answerHave a better answer?
Share your experience and earn credits toward your next interview session.
Contribute an answer