Morgan Stanley Interview Question

Design a class hierarchy for some problem they give you