Infosys interview question

Average question