leetcode Remove Duplicates from Sorted Array