Infosys interview question

Technical stuff. But not difficult.