Pergunta de entrevista da empresa Box

Given an integer array ,determine the element that occur most frequently in this array