Skip to content

add: House Robber II#21

Open
rossy0213 wants to merge 1 commit intomainfrom
arai60-37
Open

add: House Robber II#21
rossy0213 wants to merge 1 commit intomainfrom
arai60-37

Conversation

@rossy0213
Copy link
Copy Markdown
Owner

@rossy0213 rossy0213 commented May 25, 2024

}

func robHouses(nums []int) int {
dp := make([]int, len(nums) + 2)
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