Infosys interview question

Project