2020年12月3日

摘要: 地址 https://leetcode-cn.com/problems/permutations-ii/ 给定一个可包含重复数字的序列 nums ,按任意顺序 返回所有不重复的全排列。 示例 1: 输入:nums = [1,1,2] 输出: [[1,1,2], [1,2,1], [2,1,1]] 示 阅读全文
posted @ 2020-12-03 16:57 itdef 阅读(154) 评论(0) 推荐(0)
摘要: 地址 https://leetcode-cn.com/problems/permutations/submissions/ 给定一个 没有重复 数字的序列,返回其所有可能的全排列。 示例: 输入: [1,2,3] 输出: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [ 阅读全文
posted @ 2020-12-03 15:52 itdef 阅读(310) 评论(0) 推荐(0)

导航