leetcode remove duplicate from sortedArray i ii