J.P. Morgan Interview Question

1st Round: Find the missing number from 1..n numbers in an array