Bloomberg interview question

How do unique_ptr and shared_ptr work?