DXC Technology interview question

Find missing element in a sorted array of consecutive numbers