Given an unsorted integer array nums. Return the smallest positive integer that is not present in nums. Implement an algorithm that runs in O(n) time and uses O(1) auxiliary space.
Click Run to execute sample tests.