https://leetcode.com/problems/first-missing-positive/description/class Solution: def firstMissingPositive(self, A: List[int]) -> int: for i in range(len(A)): if A[i] 0: A[val -1] *= -1 elif A[val -1] == 0: A[val-1] = -1 * (len(A) + 1) for i in range(1, len(A) + 1): if A[i - 1] >= 0: return..