全排列 II
Category | Difficulty | Likes | Dislikes |
---|---|---|---|
algorithms | Medium (64.55%) | 1036 | - |
Tags
Companies
linkedin
| microsoft
给定一个可包含重复数字的序列 nums
,按任意顺序 返回所有不重复的全排列。
示例 1:
|
|
示例 2:
|
|
提示:
1 <= nums.length <= 8
-10 <= nums[i] <= 10
解法
|
|
|
|
Category | Difficulty | Likes | Dislikes |
---|---|---|---|
algorithms | Medium (64.55%) | 1036 | - |
Tags
Companies
linkedin
| microsoft
给定一个可包含重复数字的序列 nums
,按任意顺序 返回所有不重复的全排列。
示例 1:
|
|
示例 2:
|
|
提示:
1 <= nums.length <= 8
-10 <= nums[i] <= 10
|
|
|
|
#{description}
#{ end }#{content}