Autodesk interview question

Code: Find missing number in given array sequence.