Infosys Interview Question

For loops, data structures, prime number,PLM