acyWEI
Results
1
comments of
acyWEI
@labuladong 26题我能不能直接赋值给slow为0 fast为1,当nums[slow] 和 nums[fast]不相等时 往前各前进一步 def removeDuplicates(self, nums: List[int]) -> int: fast = 1 slow = 0 while fast in range(len(nums)): if nums[slow] != nums[fast]: fast += 1 slow...