Fidelity Investments interview question

Questions related to OOPs and data structures