Phenom interview question

Top frequent elements in an array