UiPath interview question

Finding the missing number in an unsorted array