README ¶ < Previous Next > 78. Subsets (Medium) Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Example: Input: nums = [1,2,3] Output: [ [3], [1], [2], [1,2,3], [1,3], [2,3], [1,2], [] ] Related Topics [Bit Manipulation] [Array] [Backtracking] Similar Questions Subsets II (Medium) Generalized Abbreviation (Medium) Letter Case Permutation (Easy) Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files subsets.go Click to show internal directories. Click to hide internal directories.