Pregunta de entrevista de PolicyBazaar

How can find the maximum frequency element in an array ?