Infosys interview question

Data Structures and System Design