Infosys Interview Question

Program to count integers in array