LeetCode
Remove Duplicates from Sorted Array II
Click
here
for an explanation.