Infosys Interview Question

nothing too difficult