Mphasis interview question

Return the item with the highest frequency in the given array.