Example 1
Example 2
n == nums.length1 <= n <= 1050 <= nums[i] < nAll the integers of nums are unique.nums is a permutation of all the numbers in the range [0, n - 1].Example 1
Example 2
n == nums.length1 <= n <= 1050 <= nums[i] < nAll the integers of nums are unique.nums is a permutation of all the numbers in the range [0, n - 1].