Question d’entretien chez Sears

Given an array. Find the frequency of elements in array.