Given an array nums
of distinct integers, return all the possible permutations. You can return the answer in any order.
Example 1:
Example 2:
Example 3:
Constraints:
nums.length
<= 6nums[i]
<= 10nums
are unique.內建作弊 by itertools
Ron ChenWed, Aug 2, 2023
Jerry Wu2 August, 2023