DPL interview question

What is singleton pattern? how to handle deadlock problem in singleton?