Frage im Vorstellungsgespräch bei Avalara

Find missing number in an array given time complexity 0(logn)