code: def rob(self, nums):
      if len(nums) == 1:
          return nums[0]
      return max(
          self.rob_helper(nums, 0, len(nums) - 2),
          self.rob_helper(nums, 1, len(nums) - 1),
      )
  
label_desc: Use image node_id 1 for calling the Solution obj's underlying member method code with example usage: obj.rob(nums) and returns: max, nums