Konrad Group Interview Question

First Missing Positive from Leetcode (problem 41, Hard level)