Luxoft interview question

Smart pointers in C++