Egnyte interview question

Write a function to return a number missing in the array of numbers.