Morgan Stanley interview question

Design Patterns