Pergunta de entrevista da empresa Birdeye

Program Repetition of the data in the array count of the particular value?