Ericsson Interview Question

Explain singleton? Difference between shared pointer and unique pointer