UiPath Interview Question

Finding the missing number in an unsorted array