Medium
https://leetcode.com/problems/subsets/
Given a set of distinct integers, nums, return all possible subsets (the power set).
Note: The solution set must not contain duplicate subsets.
Example:
1 |
Input: nums = [1,2,3] |
2019.08.29 独立做出来
1 |
import copy |
类似题目:
Subsets II
Generalized Abbreviation
Letter Case Permutation
近期评论