Medium
Same as House Robber, but the houses are arranged in a circle — the first and last are adjacent. Return the maximum you can rob.
Input: nums = [2,3,2] Output: 3
Input: nums = [1,2,3,1] Output: 4