Given an unsorted integer array, find the first missing positive integer.