Arista Networks interview question

Design an algorithm that can find the missing number in a consecutive increasing array in lowest time complexity