https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array/