LeetCode
Minimum Increment to Make Array Unique
Click
here
for an explanation.