Infosys interview question

Scenario based questions with implementation