class Solution(object):
    def findDisappearedNumbers(self, nums):
        """
        :type nums: List[int]
        :rtype: List[int]
        """
        # mark
        for v in nums:
            v = abs(v)
            nums[v - 1] = abs(nums[v - 1]) * -1

        # print(nums)
        # statistic
        ans = []
        for i in range(len(nums)):
            if nums[i] > 0:
                ans.append(i + 1)
        return ans

8c893faeee1336f46e776434f07d26e0714837e6
<mask token>

class Solution(object):
    <mask token>

class Solution(object):

    def findDisappearedNumbers(self, nums):
        """
        :type nums: List[int]
        :rtype: List[int]
        """
        for v in nums:
            v = abs(v)
            nums[v - 1] = abs(nums[v - 1]) * -1
        ans = []
        for i in range(len(nums)):
            if nums[i] > 0:
                ans.append(i + 1)
        return ans

class Solution(object):
    def findDisappearedNumbers(self, nums):
        """
        :type nums: List[int]
        :rtype: List[int]
        """
        # mark
        for v in nums:
            v = abs(v)
            nums[v - 1] = abs(nums[v - 1]) * -1

        # print(nums)
        # statistic
        ans = []
        for i in range(len(nums)):
            if nums[i] > 0:
                ans.append(i + 1)
        return ans
