Title: leetcode46-全排列 | snmlm
Open Graph Title: leetcode46-全排列
Description: 题目描述给定一个不含重复数字的数组 nums ,返回其 所有可能的全排列 。你可以 按任意顺序 返回答案。 示例 1: 12输入:nums = [1,2,3]输出:[[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]] 示例 2: 12输入:nums = [0,1]输出:[[0,1],[1,0]] 示例 3: 12输入:nums = [1]输出:[[
Open Graph Description: 题目描述给定一个不含重复数字的数组 nums ,返回其 所有可能的全排列 。你可以 按任意顺序 返回答案。 示例 1: 12输入:nums = [1,2,3]输出:[[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]] 示例 2: 12输入:nums = [0,1]输出:[[0,1],[1,0]] 示例 3: 12输入:nums = [1]输出:[[
Keywords:
Mail addresses
undefined
Opengraph URL: https://snmlm.github.io/algorithm/leetcode/leetcode_46/
Generator: Hexo 5.1.1
Domain: snmlm.github.io
| None | no-siteapp |
| author | snmlm |
| copyright | snmlm |
| format-detection | telephone=no |
| theme-color | #ffffff |
| og:type | article |
| og:site_name | snmlm |
| og:image | https://snmlm.github.io/img/head.gif |
| article:published_time | 2023-05-22T16:00:00.000Z |
| article:modified_time | 2023-05-23T08:07:33.912Z |
| twitter:card | summary |
Links:
Viewport: width=device-width,initial-scale=1