Intel Corporation interview question

1) Design and implement a shared pointer class