Pregunta de entrevista de Infosys

Conceptual object oriented programming question. Data structures.