Pergunta de entrevista da empresa Altimetrik

Find the greatest distinct largest number in an array.