Qualcomm interview question

Describe the difference between unique and shared pointer