78. Subsets
https://leetcode.com/problems/subsets/
Problem
Given a set of distinct integers, nums, return all possible subsets (the power set).
Note: The solution set must not contain duplicate subsets.
Example:
Solution
#dp
Last updated
Was this helpful?