Infosys interview question

not so difficult to mention.