Coviam Interview Question

Define Singelton Pattern and how will you implement it ? What is observer Pattern ?