Egnyte Interview Question

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