Infosys interview question

Specific to Domain