摘要: 1. 原题链接 https://leetcode.com/problems/permutations/description/ 2. 题目要求 给定一个整型数组nums,数组中的数字互不相同,返回该数组所有的排列组合 3. 解题思路 采用递归的方法,使用一个tempList用来暂存可能的排列。 4. 阅读全文
posted @ 2018-01-11 13:22 一只敲码的猫 阅读(263) 评论(0) 推荐(0) 编辑