Infosys interview question

These questions are specific , so could not remember much