Pergunta de entrevista da empresa Meta

Find the maximum in an array and if multiple elements are the same, return one of these elements in a uniform distribution.