Pergunta de entrevista da empresa J.P. Morgan

Given an array of integers, return the occurence of each elements