Infosys Interview Question

intro from start to end