标签:vector sub i+1 script desc span count AC public
Given a set of distinct integers, nums, return all possible subsets (the power set).
Note: The solution set must not contain duplicate subsets.
For example,
If nums = [1,2,3]
, a solution is:
[ [3], [1], [2], [1,2,3], [1,3], [2,3], [1,2], [] ]
解题思路:
1-n进行递归?
标签:vector sub i+1 script desc span count AC public
原文地址:https://www.cnblogs.com/liangyc/p/8847609.html