Morgan Stanley Interview Question

Mostly writing various algorithms on a whiteboard