{ "type": "code_options", "author": "csdn.net", "source": "solution.md", "exercise_id": "91c6730282074a3ba8f208b7c7574dda", "keywords": "数组,回溯", "title": "全排列", "desc": [ { "content": "\n
给定一个 没有重复 数字的序列,返回其所有可能的全排列。
示例:
输入: [1,2,3]", "language": "markdown" } ], "answer": [ { "content": "", "language": "java" } ], "prepared": [ [ { "content": "", "language": "java" } ], [ { "content": "", "language": "java" } ], [ { "content": "", "language": "java" } ] ], "template": { "content": "class Solution {\n\tpublic List
输出:[ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1]]