Infosys Interview Question

Technical question, we can answer theoretically