Pergunta de entrevista da empresa Veritas Technologies

find the repeated number in an array with less space and time complexity.