File tree 1 file changed +0
-14
lines changed
src/main/java/com/fishercoder/solutions
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 1
1
package com .fishercoder .solutions ;
2
- /**
3
- * 213. House Robber II
4
2
5
- Note: This is an extension of House Robber.
6
-
7
- After robbing those houses on that street,
8
- the thief has found himself a new place for his thievery
9
- so that he will not get too much attention.
10
- This time, all houses at this place are arranged in a circle.
11
- That means the first house is the neighbor of the last one.
12
- Meanwhile, the security system for these houses remain the same as for those in the previous street.
13
-
14
- Given a list of non-negative integers representing the amount of money of each house,
15
- determine the maximum amount of money you can rob tonight without alerting the police.
16
- */
17
3
public class _213 {
18
4
public static class Solution1 {
19
5
/**
You can’t perform that action at this time.
0 commit comments