Topic: Greedy Algorithm Problem / Level: beginner

Problem: You are given a list of houses and the amount of money in each house. Maximize the money you can rob without robbing two adjacent houses.

Run the code to see the output here...