Morgan Stanley Interview Question

What is your preferred method for implementation