Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 872 Bytes

README.md

File metadata and controls

56 lines (35 loc) · 872 Bytes

English Version

题目描述

幂集。编写一种方法,返回某集合的所有子集。集合中不包含重复的元素

说明:解集不能包含重复的子集。

示例:

 输入: nums = [1,2,3]
 输出:
[
  [3],
  [1],
  [2],
  [1,2,3],
  [1,3],
  [2,3],
  [1,2],
  []
]

解法

Python3

Java

...