Pregunta de entrevista de Bentley Systems

Find the smallest positive missing integer in the array