Philips interview question

Creating an data structure using classs and vector