Skip to content

Commit e26d789

Browse files
committed
Chapter 09 section 04 small bug fixed.
1 parent 4cf3661 commit e26d789

File tree

1 file changed

+1
-1
lines changed
  • 09-Dynamic-Programming/Course Code (Java)/04-House-Robber/src

1 file changed

+1
-1
lines changed

09-Dynamic-Programming/Course Code (Java)/04-House-Robber/src/Solution5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ private int tryRob(int[] nums, int index){
3535
public static void main(String[] args) {
3636

3737
int nums[] = {2, 1};
38-
System.out.println((new Solution1()).rob(nums));
38+
System.out.println((new Solution5()).rob(nums));
3939
}
4040
}

0 commit comments

Comments
 (0)