You are given an integer array nums of length n n
Return an array containing the two duplicate numbers. The resulting numbers may be returned in any order.
Constraints:
n
nums.length n
nums[i] n
The input is generated such that nums contains exactly
You are given an integer array nums of length n n
Return an array containing the two duplicate numbers. The resulting numbers may be returned in any order.
Constraints:
n
nums.length n
nums[i] n
The input is generated such that nums contains exactly