Morgan Stanley interview question

What is your preferred method for implementation