Problem can be found in here!
def moveZeroes(nums: List[int]) -> None: slow = fast = 0 while fast < len(nums): if nums[fast] != 0: nums[slow], nums[fast] = nums[fast], nums[slow] slow += 1 fast += 1
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — Leetcode/Two Pointers/283-MoveZeroes at main · yuchia0221/Leetcode Expand file tree/ Copy path283-MoveZeroes/Directory actionsMore optionsMore optionsDirectory actionsMore optionsMore options/ Copy path283-MoveZeroes/Folders and files
| |||||||||||||||||||||
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||