Pergunta de entrevista da empresa Morgan Stanley

like how would you implement a smart pointer