FromLeetcodeStatusACDateMar 16, 2024Tags递归回溯排列Difficulty中等Linkhttps://leetcode.cn/problems/permutations-ii/题面给定一个可包含重复数字的序列 nums ,按任意顺序 返回所有不重复的全排列。示例 1:示例 2:提示:1 <= nums.length <= 810 <= nums[i] <= 10 思路nums中有重复元素,需要对树层去重 题解