Hexaware Technologies interview question

Find element of Maximum Frequency in an array ? (Coding Round Question)