You are a thief planning to rob houses along a street. Each house has a specific amount of money stashed. However, neighboring houses have security systems installed that will automatically alert the police if two adjacent houses are broken into on the same night. Given an integer array nums representing the money stashed in each house, calculate the maximum amount of money you can steal tonight without alerting the police.
Visualizer will appear here