質問編集履歴

2

問題の引用

2019/04/09 06:58

投稿

soo
soo

スコア80

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,14 @@
1
1
  # こちらの問題です。
2
2
 
3
3
  https://leetcode.com/problems/house-robber/
4
+
5
+
6
+
7
+ > You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken into on the same night.
8
+
9
+
10
+
11
+ > Given a list of non-negative integers representing the amount of money of each house, determine the maximum amount of money you can rob tonight without alerting the police.
4
12
 
5
13
 
6
14
 

1

修正

2019/04/09 06:58

投稿

soo
soo

スコア80

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- # わかったこと
7
+ # わかったこと、わからないこと
8
8
 
9
9
  動的計画法を利用すると出来そうなことまではわかったのですが、いくつかの回答を見ても理解できませんでした。
10
10