Databricks phone screen coding problems in this category span several related forms: 1. House Robber (LC 198 base): Given an array of non-negative integers representing the amount of money at each house, find the maximum amount you can rob without robbing two adjacent houses. Space optimization (O(1) space) is required…