Day03--删除排序数组中的重复项(python实现)

# 此方法适用于排序数组 class Solution: def removeDuplicates(self, nums): """ :type nums: List[int] :rtype: int """ j = 0 while j < len(nums)-1: if nums[j] == n
相关文章
相关标签/搜索