摘要: class Solution: def sortColors(self, nums: List[int]) -> None: """ Do not return anything, modify nums in-place instead. """ head, now, tail = 0, 0, len(nums)-1 while now <= tail: if nums[now] == 0: n 阅读全文
posted @ 2019-09-16 21:03 我叫郑小白 阅读(169) 评论(0) 推荐(0) 编辑