Zyper interview question

Find the missing number from the 1 - n numbers, the array had n-1 elements.