Infosys interview question

there were some technical questions