Infosys Interview Question

frequency counter pattern, angular concepts