Bloomberg Interview Question

How do unique_ptr and shared_ptr work?