Pergunta de entrevista da empresa Oracle

Find duplicate/missing number in an array of given rage -different approaches