Infosys Interview Question

Fully based on Data Strucyure