Infosys Interview Question

Scenario based case