/**
* 一、
* You are a professional robber planning to rob houses along a street.Each house has a certain amount of money stashed,
* the only constr ......
House Robber II
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at t ......
The thief has found himself a new place for his thievery again. There is only one entrance to this area, called root.
Besides the root, each house has ......
198. House Robber
Easy
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, th ......
https://leetcode-cn.com/problems/house-robber-ii/
//rob 0, not rob n-1 || not rob 0,not rob n-1 ==>rob(0,nums.length-2,nums)
//not rob 0,rob n-1 || n ......