DXC Technology Interview Question

Find missing element in a sorted array of consecutive numbers