Bloomberg Interview Question

Implement a basic shared pointer in C++