Pergunta de entrevista da empresa Autodesk

Code: Find missing number in given array sequence.