Pergunta de entrevista da empresa Nomura

Java program for counting occurance of element in array