Pergunta de entrevista da empresa Oracle

Find the maximum repeated element in an array.