Skip to content

213. House Robber II#29

Open
n6o wants to merge 1 commit intomainfrom
house-robber-ii
Open

213. House Robber II#29
n6o wants to merge 1 commit intomainfrom
house-robber-ii

Conversation

@n6o
Copy link
Owner

@n6o n6o commented Mar 21, 2026

今回の問題

House Robber II - LeetCode

使用言語

Python

if len(nums) == 1:
return nums[0]

def rob_with_range(start, end: int) -> int:
Copy link

Choose a reason for hiding this comment

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

型が付いているものと付いていないものが混在している点が気になりました。

Copy link
Owner Author

Choose a reason for hiding this comment

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

ありがとうございます。

golang の手癖で書いてしまっていました。
気をつけます。(手元でもlintするなどを考えてみます)

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