Morgan Stanley Interview Question

C plus plus smart pointers