Infosys interview question

Interested subject during college days. Project work.