Problem
Given an unsorted integer arraynums. Return the smallest positive integer that is not present in nums.
You must implement an algorithm that runs in O(n) time and uses O(1) auxiliary space.
Examples
Constraints
1 <= nums.length <= 10^5-2^31 <= nums[i] <= 2^31 - 1