First Missing Positive (LeetCode 41).
Asked in the coding stage. Given an unsorted list of integers, return the smallest positive integer that does not appear in the list.
Implement def first_missing_positive(nums):. The function receives a list of integers and returns an integer. Modify the list in place if useful.
def first_missing_positive(nums):