摘要: class Solution: def moveZeroes(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ i, j = 0, 0 while j < len 阅读全文
posted @ 2022-04-30 18:06 stronger_el 阅读(15) 评论(0) 推荐(0) 编辑
摘要: class Solution: def rotate(self, nums: List[int], k: int) -> None: """ Do not return anything, modify nums in-place instead. """ if k >= len(nums): ro 阅读全文
posted @ 2022-04-30 16:31 stronger_el 阅读(15) 评论(0) 推荐(0) 编辑