Morgan Stanley Interview Question

medium level java, design pattern and solid principals