Pergunta de entrevista da empresa Egnyte

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