Morgan Stanley Interview Question

OOP questiones, algorithym: nth fibonacci number, longest common prefix