Pregunta de entrevista de Amtex Systems

Find duplicate value in array using time complexity o(logn)