Infosys interview question

etc