Bloomberg interview question

OOP Class Design Problems Implementation