PolicyBazaar Interview Question

How can find the maximum frequency element in an array ?