Given an integer array nums, you may perform the following operation any number of times: choose an index i and increase nums[i] by
Return the minimum number of operations required to make every value in nums distinct.
Constraints:
nums.length
nums[i]
Given an integer array nums, you may perform the following operation any number of times: choose an index i and increase nums[i] by
Return the minimum number of operations required to make every value in nums distinct.
Constraints:
nums.length
nums[i]