Infosys interview question

Reason for the change was asked