Siemens interview question

OOPs concepts, Data structures