mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-18 11:36:48 +08:00
更新国内版力扣题目描述变更
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
<p>Write a method to return all subsets of a set. The elements in a set are pairwise distinct.</p>
|
||||
|
||||
<p>Note: The result set should not contain duplicated subsets.</p>
|
||||
|
||||
<p><strong>Example:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong> Input</strong>: nums = [1,2,3]
|
||||
<strong> Output</strong>:
|
||||
[
|
||||
[3],
|
||||
[1],
|
||||
[2],
|
||||
[1,2,3],
|
||||
[1,3],
|
||||
[2,3],
|
||||
[1,2],
|
||||
[]
|
||||
]
|
||||
</pre>
|
||||
<p>Write a method to return all subsets of a set. The elements in a set are pairwise distinct.</p>
|
||||
|
||||
|
||||
|
||||
<p>Note: The result set should not contain duplicated subsets.</p>
|
||||
|
||||
|
||||
|
||||
<p><strong>Example:</strong></p>
|
||||
|
||||
|
||||
|
||||
<pre>
|
||||
|
||||
<strong> Input</strong>: nums = [1,2,3]
|
||||
|
||||
<strong> Output</strong>:
|
||||
|
||||
[
|
||||
|
||||
|
Reference in New Issue
Block a user