Glance Interview Question

Find the missing number with logn complexity