Infosys Interview Question

Nothing so difficult