Skip to content

Subsets Ii#144

Open
tom4649 wants to merge 2 commits into
mainfrom
90.Subsets-II
Open

Subsets Ii#144
tom4649 wants to merge 2 commits into
mainfrom
90.Subsets-II

Conversation

@tom4649

@tom4649 tom4649 commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Comment thread 0090.Subsets-II/step1_recursion.py Outdated
class Solution:
def subsetsWithDup(self, nums: list[int]) -> list[list[int]]:
def update_subsets(subsets, num, count):
extention = [subset + [num] * i for i in range(1, count+1) for subset in subsets]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

こちらのコメントをご参照ください。
mt2324/leetcode#2 (comment)

Copy link
Copy Markdown
Owner Author

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