Konrad Group Interview Question

Whiteboarding about finding the nearest positive missing number