Interview Question of the day: Find the missing number

One array is given from 1 to n with a missing number . Find the missing number .