Skip to content

213. House Robber II#28

Open
hiro111208 wants to merge 1 commit into
mainfrom
213-house-robber-ii
Open

213. House Robber II#28
hiro111208 wants to merge 1 commit into
mainfrom
213-house-robber-ii

Conversation

@hiro111208
Copy link
Copy Markdown
Owner


return profit_one_back

return max(rob_linear(0, len(nums) - 1), rob_linear(1, 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.

いいと思います。

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