Morgan Stanley interview question

Talk about smart pointer