Infosys Interview Question

Data structures Writing code according to some scenario.