Pergunta de entrevista da empresa ZS Associates

Count the frequency of a number occurring in the given array