House Robber
Asked at Amazon · Coding Questions · Difficulty: Easy
Given non-negative house values, return the maximum total you can rob without robbing two adjacent houses.
Loading the problem…
Asked at Amazon · Coding Questions · Difficulty: Easy
Given non-negative house values, return the maximum total you can rob without robbing two adjacent houses.
Loading the problem…