Infosys Interview Question

Nothing difficult