Skip to content

Sub Sets II#28

Open
rossy0213 wants to merge 1 commit intomainfrom
leetcode-subsets-ii
Open

Sub Sets II#28
rossy0213 wants to merge 1 commit intomainfrom
leetcode-subsets-ii

Conversation

@rossy0213
Copy link
Copy Markdown
Owner

// That will increase the time complexity but order wouldn't change because the overal time complexity will depends on biggest order(2 ** n)
// Time complexity: O(2 ** N * N(list copy)) N: number of nums
// Space complexity: O(2 ** N) result
// Time spend: 12:21
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

たぶん、この問題も、backtrack の仕方が複数あるように思います。

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