Pregunta de entrevista de UiPath

Finding the missing number in an unsorted array