摘要: 简单模拟 class Solution: def missingInteger(self, nums: List[int]) -> int: res = nums[0] for i in range(1, len(nums)): if nums[i] == nums[i - 1] + 1: res 阅读全文
posted @ 2024-01-08 10:10 深渊之巅 阅读(31) 评论(0) 推荐(0)