30:00
Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.
1≤nums.length≤61 \leq \text{nums.length} \leq 61≤nums.length≤6
−10≤nums[i]≤10-10 \leq \text{nums}[i] \leq 10−10≤nums[i]≤10
All integers of nums are unique.
nums
Check length: 0 == 3
1
2
3
Empty