Pergunta de entrevista da empresa PolicyBazaar

How can find the maximum frequency element in an array ?