Infosys interview question

Technical question, we can answer theoretically