46. Permutations
https://leetcode.com/problems/permutations/
Related problems
47-permutations-ii
78-subsets
90-subsets-ii
39-combination-sum
---
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] ]---
Related problems
47-permutations-ii
78-subsets
90-subsets-ii
39-combination-sum
---