LeeMax117 / LeetCode_practise

recorde our Leetcode process
0 stars 1 forks source link

46. Permutations #15

Closed nijilong1224 closed 5 years ago

nijilong1224 commented 5 years ago

Given a collection of distinct integers, return all possible permutations.

Example:

Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1] ]

nijilong1224 commented 5 years ago

https://github.com/LeeMax117/LeetCode_practise/blob/master/Jinglong/Permutations.py

LeeMax117 commented 5 years ago

https://github.com/LeeMax117/LeetCode_practise/blob/master/LeeMax/46_Permutations.py