Pregunta de entrevista de Nomura

Java program for counting occurance of element in array