Infosys interview question

should be much difficult for experienced person