Skip to content

198. House Robber#48

Open
hayashi-ay wants to merge 4 commits intomainfrom
hayashi-ay-patch-37
Open

198. House Robber#48
hayashi-ay wants to merge 4 commits intomainfrom
hayashi-ay-patch-37

Conversation

@hayashi-ay
Copy link
Copy Markdown
Owner


max_amount_two_before = nums[0]
max_amount_one_before = max(nums[0], nums[1])
for i in range(2, len(nums)):
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for num in nums[2:]: にしても良いと思いましたが、あまり変わらないかもしれません。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants