Electronic Arts Interview Question

Given an unsorted int array from 1 to N with 1 missing number, find out the missing number.